Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Latest commit

 

History

History
39 lines (26 loc) · 2.78 KB

File metadata and controls

39 lines (26 loc) · 2.78 KB

kakao / com.agoda.kakao.pager2 / ViewPager2Actions

ViewPager2Actions

interface ViewPager2Actions : ScrollableActions, SwipeableActions

Provides ScrollableActions implementation for ViewPager2

See Also

ScrollableActions

SwipeableActions

ViewPager2

Functions

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

Inherited Functions

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

Inheritors

Name Summary
KViewPager2 class KViewPager2 : ViewPager2Actions, ViewPager2AdapterAssertions, SwipeableActions, BaseAssertions
View with SwipeableActions and ViewPager2Assertions