View.GetFocusables(FocusSearchDirection) Method

Definition

Find and return all focusable views that are descendants of this view, possibly including this view if it is focusable itself.

[Android.Runtime.Register("getFocusables", "(I)Ljava/util/ArrayList;", "GetGetFocusables_IHandler")]
public virtual System.Collections.Generic.IList<Android.Views.View>? GetFocusables (Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("getFocusables", "(I)Ljava/util/ArrayList;", "GetGetFocusables_IHandler")>]
abstract member GetFocusables : Android.Views.FocusSearchDirection -> System.Collections.Generic.IList<Android.Views.View>
override this.GetFocusables : Android.Views.FocusSearchDirection -> System.Collections.Generic.IList<Android.Views.View>

Parameters

direction
FocusSearchDirection

The direction of the focus

Returns

A list of focusable views

Attributes

Remarks

Find and return all focusable views that are descendants of this view, possibly including this view if it is focusable itself.

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