Skip to content

ViewPager: carousel, auto scroll

Compare
Choose a tag to compare
@li2 li2 released this 24 Apr 07:44
· 16 commits to master since this release

CardPageTransformer
- a card effect transformer for ViewPager2

CarouselPagerHelper
- Provide carousel scroll ability for RecyclerView [ListAdapter] by mocking up the limited dataset with [Int.MAX_VALUE]

ViewPager2AutoScrollHelper
- an interface serve as a plugin to provide the ViewPager auto scroll ability.

ViewPager2Ext
- Ignore pull to refresh
- Show the partial preview of left and right page of ViewPager.

VerticalScrollView
- A scroll view will only intercept the event if the user is deliberately scrolling in the Y direction, to make the horizontal scroll view scroll smooth.