AbsListView.CanScrollList(Int32) Method

Definition

Check if the items in the list can be scrolled in a certain direction.

[Android.Runtime.Register("canScrollList", "(I)Z", "GetCanScrollList_IHandler")]
public virtual bool CanScrollList (int direction);
[<Android.Runtime.Register("canScrollList", "(I)Z", "GetCanScrollList_IHandler")>]
abstract member CanScrollList : int -> bool
override this.CanScrollList : int -> bool

Parameters

direction
Int32

Negative to check scrolling up, positive to check scrolling down.

Returns

true if the list can be scrolled in the specified direction, false otherwise.

Attributes

Remarks

Check if the items in the list can be scrolled in a certain direction.

Java documentation for android.widget.AbsListView.canScrollList(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also