IExpandableListAdapter.GetCombinedGroupId(Int64) Method

Definition

Gets an ID for a group that is unique across any item (either group or child) that is in this list.

[Android.Runtime.Register("getCombinedGroupId", "(J)J", "GetGetCombinedGroupId_JHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public long GetCombinedGroupId (long groupId);
[<Android.Runtime.Register("getCombinedGroupId", "(J)J", "GetGetCombinedGroupId_JHandler:Android.Widget.IExpandableListAdapterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetCombinedGroupId : int64 -> int64

Parameters

groupId
Int64

The ID of the group

Returns

The unique (and possibly stable) ID of the group across all groups and children in this list.

Attributes

Remarks

Gets an ID for a group that is unique across any item (either group or child) that is in this list. Expandable lists require each item (group or child) to have a unique ID among all children and groups in the list. This method is responsible for returning that unique ID given a group's ID. Furthermore, if #hasStableIds() is true, the returned ID must be stable as well.

Java documentation for android.widget.ExpandableListAdapter.getCombinedGroupId(long).

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