ScrollVectorProvider

An interface which is optionally implemented by custom RecyclerView.LayoutManager to provide a hint to a SmoothScroller about the location of the target position.

Inheritors

Functions

Link copied to clipboard
abstract fun computeScrollVectorForPosition(targetPosition: Int): PointF
Should calculate the vector that points to the direction where the target position can be found.