ExpandableListView.CollapseGroup(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.