scrollToPositionWithOffset

abstract fun scrollToPositionWithOffset(position: Int, offset: Int)

RecyclerBinder delegates scrolling responsibilities to the LayoutInfo, as the varied LayoutManagers wrapped by a LayoutInfo lack a common scrolling interface. Typical implementations should forward the call to the underlying LayoutManager's scrollToPositionWithOffset() or an equivalent.

Parameters

position

Index of the item in the adapter

offset

Additional adjustment to control the precise position the scroll moves to.