Google is committed to advancing racial equity for Black communities. See how.

ListViewAutoScrollHelper

open class ListViewAutoScrollHelper : AutoScrollHelper
kotlin.Any
   ↳ androidx.core.widget.AutoScrollHelper
   ↳ androidx.core.widget.ListViewAutoScrollHelper

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

Summary

Inherited constants

Public constructors

<init>(@NonNull target: ListView)

Public methods

open Boolean

open Boolean

open Unit
scrollTargetBy(deltaX: Int, deltaY: Int)

Inherited functions

Public constructors

<init>

ListViewAutoScrollHelper(@NonNull target: ListView)

Public methods

canTargetScrollHorizontally

open fun canTargetScrollHorizontally(direction: Int): Boolean

canTargetScrollVertically

open fun canTargetScrollVertically(direction: Int): Boolean

scrollTargetBy

open fun scrollTargetBy(
    deltaX: Int,
    deltaY: Int
): Unit