RecyclerActions

Provides ScrollableActions implementation for RecyclerView

See also

Inheritors

Functions

Link copied to clipboard
public Unit act(Function0<ViewAction> function)

Performs custom action on a view

Link copied to clipboard
public Unit click(CoordinatesProvider location)

Performs click on view

Link copied to clipboard
public Unit doubleClick(CoordinatesProvider location)

Performs double click on view

Link copied to clipboard
public Integer getSize()

Returns the size of RecyclerView

Link copied to clipboard
public abstract ViewInteractionDelegate getView()
Link copied to clipboard
public Unit longClick(CoordinatesProvider location)

Performs long click on view

Link copied to clipboard
public Unit onFailure(Function2<Throwable, Matcher<View>, Unit> function)

Adds failure handler to the view

Link copied to clipboard

Presses IME action, if supported view is in focus

Link copied to clipboard
public Unit repeatUntil(Integer maxAttempts, Function0<ViewAction> action, Function1<ViewBuilder, Unit> matcher)

Repeats given action on the view until this view will match the given matcher

Link copied to clipboard
public Unit scrollTo()

Scrolls to the view, if possible

public Unit scrollTo(Function1<ViewBuilder, Unit> viewBuilder)
public Unit scrollTo(Matcher<View> matcher)

Scrolls to specific view holder that matches given matcher

public Unit scrollTo(Integer position)

Scrolls to the specific position of the view

Link copied to clipboard
public Unit scrollToEnd()

Scrolls to the last position of the view

Link copied to clipboard

Scrolls to the starting position of the view

Link copied to clipboard
public Unit swipeDown()

Swipes down on the view

Link copied to clipboard
public Unit swipeLeft()

Swipes left on the view

Link copied to clipboard
public Unit swipeRight()

Swipes right on the view

Link copied to clipboard
public Unit swipeUp()

Swipes up on the view