IExpandableListAdapter.GetGroupId(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.
Gets the ID for the group at the given position.
[Android.Runtime.Register("getGroupId", "(I)J", "GetGetGroupId_IHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long GetGroupId (int groupPosition);
[<Android.Runtime.Register("getGroupId", "(I)J", "GetGetGroupId_IHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetGroupId : int -> int64
Parameters
- groupPosition
- Int32
the position of the group for which the ID is wanted
Returns
the ID associated with the group
- Attributes
Remarks
Gets the ID for the group at the given position. This group ID must be unique across groups. The combined ID (see #getCombinedGroupId(long)
) must be unique across ALL items (groups and all children).
Java documentation for android.widget.ExpandableListAdapter.getGroupId(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.