ListViewAutoScrollHelper

An implementation of AutoScrollHelper that knows how to scroll through a ListView.

Constructors

Link copied to clipboard
constructor(@NonNull target: ListView)

Functions

Link copied to clipboard
Override this method to return whether the target view can be scrolled horizontally in a certain direction.
Link copied to clipboard
open fun canTargetScrollVertically(direction: Int): Boolean
Override this method to return whether the target view can be scrolled vertically in a certain direction.
Link copied to clipboard
open fun scrollTargetBy(deltaX: Int, deltaY: Int)
Override this method to scroll the target view by the specified number of pixels.