ExpandableListView.SetSelectedGroup(Int32) 方法

定义

将所选内容设置为指定的组。

[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

参数

groupPosition
Int32

应选择的组的位置。

属性

注解

将所选内容设置为指定的组。

适用于 . 的 android.widget.ExpandableListView.setSelectedGroup(int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于