BaseExpandableListAdapter.GetChildId(Int32, 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 given child within the given group.
[Android.Runtime.Register("getChildId", "(II)J", "GetGetChildId_IIHandler")]
public abstract long GetChildId (int groupPosition, int childPosition);
[<Android.Runtime.Register("getChildId", "(II)J", "GetGetChildId_IIHandler")>]
abstract member GetChildId : int * int -> int64
Parameters
- groupPosition
- Int32
the position of the group that contains the child
- childPosition
- Int32
the position of the child within the group for which the ID is wanted
Returns
the ID associated with the child
Implements
- Attributes
Remarks
Gets the ID for the given child within the given group. This ID must be unique across all children within the group. The combined ID (see #getCombinedChildId(long, long)
) must be unique across ALL items (groups and all children).
Java documentation for android.widget.ExpandableListAdapter.getChildId(int, 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.