Hi guys, do you know if in Accompanist's Pager it is possible to have 2 items per page? For example, if the list of images I'm showing has 10 images, in the first screen I want to show page 1 and 2, then swiping you go to page 3-4 etc.
@Andrey Kulikov have you considered enhancing the PageSize API to take into account the index of the page? i.e., have you considered allowing different pages to have different sizes?
a
Andrey Kulikov
03/02/2023, 11:34 AM
no. we decided Pager will be optimized for the use case of each page having the same size (regardless of if the page is filling the whole screen, or not) . for other use cases it is recommended to use LazyRow + SnapFlingBehavior