View.DispatchUnhandledMove(View, FocusSearchDirection) Method

Definition

This method is the last chance for the focused view and its ancestors to respond to an arrow key.

C#
[Android.Runtime.Register("dispatchUnhandledMove", "(Landroid/view/View;I)Z", "GetDispatchUnhandledMove_Landroid_view_View_IHandler")]
public virtual bool DispatchUnhandledMove (Android.Views.View? focused, Android.Views.FocusSearchDirection direction);

Parameters

focused
View

The currently focused view.

direction
FocusSearchDirection

The direction focus wants to move. One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and FOCUS_RIGHT.

Returns

True if the this view consumed this unhandled move.

Attributes

Remarks

This method is the last chance for the focused view and its ancestors to respond to an arrow key. This is called when the focused view did not consume the key internally, nor could the view system find a new view in the requested direction to give focus to.

Java documentation for android.view.View.dispatchUnhandledMove(android.view.View, 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

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35