Udostępnij za pośrednictwem


ScrollView.ArrowScroll(FocusSearchDirection) Method

Definition

Handle scrolling in response to an up or down arrow click.

[Android.Runtime.Register("arrowScroll", "(I)Z", "GetArrowScroll_IHandler")]
public virtual bool ArrowScroll (Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("arrowScroll", "(I)Z", "GetArrowScroll_IHandler")>]
abstract member ArrowScroll : Android.Views.FocusSearchDirection -> bool
override this.ArrowScroll : Android.Views.FocusSearchDirection -> bool

Parameters

direction
FocusSearchDirection

The direction corresponding to the arrow key that was pressed

Returns

True if we consumed the event, false otherwise

Attributes

Remarks

Handle scrolling in response to an up or down arrow click.

Java documentation for android.widget.ScrollView.arrowScroll(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