added in version 22.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
ListViewAutoScrollHelper
public
class
ListViewAutoScrollHelper
extends AutoScrollHelper
java.lang.Object | ||
↳ | android.support.v4.widget.AutoScrollHelper | |
↳ | android.support.v4.widget.ListViewAutoScrollHelper |
An implementation of AutoScrollHelper
that knows how to scroll
through a ListView
.
Summary
Inherited constants |
---|
![]()
android.support.v4.widget.AutoScrollHelper
|
Public constructors | |
---|---|
ListViewAutoScrollHelper(ListView target)
|
Public methods | |
---|---|
boolean
|
canTargetScrollHorizontally(int direction)
Override this method to return whether the target view can be scrolled horizontally in a certain direction. |
boolean
|
canTargetScrollVertically(int direction)
Override this method to return whether the target view can be scrolled vertically in a certain direction. |
void
|
scrollTargetBy(int deltaX, int deltaY)
Override this method to scroll the target view by the specified number of pixels. |
Inherited methods | |
---|---|
![]()
android.support.v4.widget.AutoScrollHelper
|