Freigeben über


BaseExpandableListAdapter.GetCombinedChildId(Int64, Int64) Method

Definition

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

[Android.Runtime.Register("getCombinedChildId", "(JJ)J", "GetGetCombinedChildId_JJHandler")]
public virtual long GetCombinedChildId (long groupId, long childId);
[<Android.Runtime.Register("getCombinedChildId", "(JJ)J", "GetGetCombinedChildId_JJHandler")>]
abstract member GetCombinedChildId : int64 * int64 -> int64
override this.GetCombinedChildId : int64 * int64 -> int64

Parameters

groupId
Int64

The ID of the group that contains this child.

childId
Int64

The ID of the child.

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 1. <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.getCombinedChildId(long, 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