-
- 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 RecyclerActions implements ScrollableActions, SwipeableActions
Provides ScrollableActions implementation for RecyclerView
-
-
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 UnitscrollTo(Integer position)Scrolls to the specific position of the view UnitscrollTo(Matcher<View> matcher)Scrolls to specific view holder that matches given matcher UnitscrollTo(Function1<ViewBuilder, Unit> viewBuilder)Scrolls to specific view holder that matches given matcher IntegergetSize()Returns the size of RecyclerView 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.recycler.RecyclerActions
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
-
scrollTo
Unit scrollTo(Integer position)
Scrolls to the specific position of the view
- Parameters:
position- Scrolling destination
-
scrollTo
Unit scrollTo(Matcher<View> matcher)
Scrolls to specific view holder that matches given matcher
- Parameters:
matcher- Matcher for view holder, which is scroll destination
-
scrollTo
Unit scrollTo(Function1<ViewBuilder, Unit> viewBuilder)
Scrolls to specific view holder that matches given matcher
- Parameters:
viewBuilder- Builder that will be used to match view to scroll
-
getView
abstract ViewInteractionDelegate getView()
-
-
-
-