Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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