다음을 통해 공유


View.AddKeyboardNavigationClusters Method

Definition

Adds any keyboard navigation cluster roots that are descendants of this view (possibly including this view if it is a cluster root itself) to views.

[Android.Runtime.Register("addKeyboardNavigationClusters", "(Ljava/util/Collection;I)V", "GetAddKeyboardNavigationClusters_Ljava_util_Collection_IHandler", ApiSince=26)]
public virtual void AddKeyboardNavigationClusters (System.Collections.Generic.ICollection<Android.Views.View> views, Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("addKeyboardNavigationClusters", "(Ljava/util/Collection;I)V", "GetAddKeyboardNavigationClusters_Ljava_util_Collection_IHandler", ApiSince=26)>]
abstract member AddKeyboardNavigationClusters : System.Collections.Generic.ICollection<Android.Views.View> * Android.Views.FocusSearchDirection -> unit
override this.AddKeyboardNavigationClusters : System.Collections.Generic.ICollection<Android.Views.View> * Android.Views.FocusSearchDirection -> unit

Parameters

views
ICollection<View>

Keyboard navigation cluster roots found so far

direction
FocusSearchDirection

Direction to look

Attributes

Remarks

Adds any keyboard navigation cluster roots that are descendants of this view (possibly including this view if it is a cluster root itself) to views.

Java documentation for android.view.View.addKeyboardNavigationClusters(java.util.Collection<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