SmoothScroller
Base class for smooth scrolling. Handles basic tracking of the target view position and provides methods to trigger a programmatic scroll.
An instance of SmoothScroller is only intended to be used once. You should create a new instance for each call to startSmoothScroll.
See also
Inheritors
Types
Link copied to clipboard
Holds information about a smooth scroll request by a SmoothScroller.
Link copied to clipboard
interface 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.
Functions
Link copied to clipboard
Compute the scroll vector for a given target position.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the adapter position of the target item
Link copied to clipboard
Link copied to clipboard
Returns true if SmoothScroller has been started but has not received the first animation callback yet.
Link copied to clipboard