Udostępnij za pośrednictwem


ExpandableListView.SetSelectedGroup(Int32) Method

Definition

Sets the selection to the specified group.

[Android.Runtime.Register("setSelectedGroup", "(I)V", "GetSetSelectedGroup_IHandler")]
public virtual void SetSelectedGroup (int groupPosition);
[<Android.Runtime.Register("setSelectedGroup", "(I)V", "GetSetSelectedGroup_IHandler")>]
abstract member SetSelectedGroup : int -> unit
override this.SetSelectedGroup : int -> unit

Parameters

groupPosition
Int32

The position of the group that should be selected.

Attributes

Remarks

Sets the selection to the specified group.

Java documentation for android.widget.ExpandableListView.setSelectedGroup(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