LazyListScrollProcessor

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun contentSize(): Int

Returns the number of items we're scrolling over.

Link copied to clipboard
Link copied to clipboard

Reacts to a scroll-to-top being initiated.

Link copied to clipboard
fun onUserScroll(firstIndex: Int, lastIndex: Int)

React to a user-initiated scroll. Callers should not call this function for programmatic scrolls.

Link copied to clipboard
fun onViewportChanged(onViewportChanged: (Int, Int) -> Unit)
Link copied to clipboard
abstract fun programmaticScroll(firstIndex: Int, animated: Boolean)

Perform a programmatic scroll.

Link copied to clipboard
fun scrollItemIndex(scrollItemIndex: ScrollItemIndex)