scrollTo

public Unit scrollTo(Integer position)

Scrolls to the specific position of the view

Parameters

position

Scrolling destination


public Unit scrollTo(Matcher<View> matcher)

Scrolls to specific view holder that matches given matcher

Parameters

matcher

Matcher for view holder, which is scroll destination


public 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