-
- All Implemented Interfaces:
-
io.github.kakaocup.kakao.common.actions.BaseActions,io.github.kakaocup.kakao.common.actions.ScrollableActions,io.github.kakaocup.kakao.common.actions.SwipeableActions
public interface ViewPager2Actions implements ScrollableActions, SwipeableActions
Provides ScrollableActions implementation for ViewPager2
-
-
Method Summary
Modifier and Type Method Description UnitscrollToStart()Scrolls to the starting position of the view UnitscrollToEnd()Scrolls to the last position of the view UnitscrollForward()Scrolls to the next position of the view UnitscrollBackward()Scrolls to the previous position of the view UnitscrollTo(Integer position)Scrolls to the specific position of the view IntegergetSize()Returns the size of ViewPager2 abstract ViewInteractionDelegategetView()-
Methods inherited from class io.github.kakaocup.kakao.common.actions.ScrollableActions
act, click, doubleClick, longClick, onFailure, pressImeAction, repeatUntil, scrollTo -
Methods inherited from class io.github.kakaocup.kakao.pager2.ViewPager2Actions
swipeDown, swipeLeft, swipeRight, swipeUp -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
scrollToStart
Unit scrollToStart()
Scrolls to the starting position of the view
-
scrollToEnd
Unit scrollToEnd()
Scrolls to the last position of the view
-
scrollForward
Unit scrollForward()
Scrolls to the next position of the view
-
scrollBackward
Unit scrollBackward()
Scrolls to the previous position of the view
-
scrollTo
Unit scrollTo(Integer position)
Scrolls to the specific position of the view
- Parameters:
position- Scrolling destination
-
getView
abstract ViewInteractionDelegate getView()
-
-
-
-