kakao / com.agoda.kakao.pager2 / ViewPager2Actions
interface ViewPager2Actions :
ScrollableActions
,
SwipeableActions
Provides ScrollableActions implementation for ViewPager2
See Also
Name | Summary |
---|---|
getSize | open fun getSize(): Int Returns the size of ViewPager2 |
scrollTo | open fun scrollTo(position: Int ): Unit Scrolls to the specific position of the view |
scrollToEnd | open fun scrollToEnd(): Unit Scrolls to the last position of the view |
scrollToStart | open fun scrollToStart(): Unit Scrolls to the starting position of the view |
Name | Summary |
---|---|
swipeDown | open fun swipeDown(): Unit Swipes down on the view |
swipeLeft | open fun swipeLeft(): Unit Swipes left on the view |
swipeRight | open fun swipeRight(): Unit Swipes right on the view |
swipeUp | open fun swipeUp(): Unit Swipes up on the view |
Name | Summary |
---|---|
KViewPager2 | class KViewPager2 : ViewPager2Actions , ViewPager2AdapterAssertions , SwipeableActions , BaseAssertions View with SwipeableActions and ViewPager2Assertions |