Udostępnij za pośrednictwem


AbsListView.FastScrollEnabled Property

Definition

Returns true if the fast scroller is enabled. -or- Specifies whether fast scrolling is enabled or disabled.

public virtual bool FastScrollEnabled { [Android.Runtime.Register("isFastScrollEnabled", "()Z", "GetIsFastScrollEnabledHandler")] get; [Android.Runtime.Register("setFastScrollEnabled", "(Z)V", "GetSetFastScrollEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isFastScrollEnabled", "()Z", "GetIsFastScrollEnabledHandler")>]
[<set: Android.Runtime.Register("setFastScrollEnabled", "(Z)V", "GetSetFastScrollEnabled_ZHandler")>]
member this.FastScrollEnabled : bool with get, set

Property Value

true if fast scroll is enabled, false otherwise

Attributes

Remarks

Property getter documentation:

Returns true if the fast scroller is enabled.

Java documentation for android.widget.AbsListView.isFastScrollEnabled().

Property setter documentation:

Specifies whether fast scrolling is enabled or disabled.

When fast scrolling is enabled, the user can quickly scroll through lists by dragging the fast scroll thumb.

If the adapter backing this list implements SectionIndexer, the fast scroller will display section header previews as the user scrolls. Additionally, the user will be able to quickly jump between sections by tapping along the length of the scroll bar.

Java documentation for android.widget.AbsListView.setFastScrollEnabled(boolean).

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