Udostępnij za pośrednictwem


BaseExpandableListAdapter.GetCombinedGroupId(Int64) Method

Definition

Override this method if you foresee a clash in IDs based on this scheme:

[Android.Runtime.Register("getCombinedGroupId", "(J)J", "GetGetCombinedGroupId_JHandler")]
public virtual long GetCombinedGroupId (long groupId);
[<Android.Runtime.Register("getCombinedGroupId", "(J)J", "GetGetCombinedGroupId_JHandler")>]
abstract member GetCombinedGroupId : int64 -> int64
override this.GetCombinedGroupId : int64 -> int64

Parameters

groupId
Int64

The ID of the group

Returns

Implements

Attributes

Remarks

Override this method if you foresee a clash in IDs based on this scheme:

Base implementation returns a long: <li> bit 0: Whether this ID points to a child (unset) or group (set), so for this method this bit will be 0. <li> bit 1-31: Lower 31 bits of the groupId <li> bit 32-63: Lower 32 bits of the childId.

To be added

Java documentation for android.widget.BaseExpandableListAdapter.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