다음을 통해 공유


ExpandableListView.CollapseGroup(Int32) Method

Definition

Collapse a group in the grouped list view

[Android.Runtime.Register("collapseGroup", "(I)Z", "GetCollapseGroup_IHandler")]
public virtual bool CollapseGroup (int groupPos);
[<Android.Runtime.Register("collapseGroup", "(I)Z", "GetCollapseGroup_IHandler")>]
abstract member CollapseGroup : int -> bool
override this.CollapseGroup : int -> bool

Parameters

groupPos
Int32

position of the group to collapse

Returns

True if the group was collapsed, false otherwise (if the group was already collapsed, this will return false)

Attributes

Remarks

Collapse a group in the grouped list view

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