ExpandableListView.GetPackedPositionChild(Int64) Method

Definition

Gets the child position from a packed position that is of #PACKED_POSITION_TYPE_CHILD type (use #getPackedPositionType(long)).

[Android.Runtime.Register("getPackedPositionChild", "(J)I", "")]
public static int GetPackedPositionChild (long packedPosition);
[<Android.Runtime.Register("getPackedPositionChild", "(J)I", "")>]
static member GetPackedPositionChild : int64 -> int

Parameters

packedPosition
Int64

The packed position from which the child position will be returned.

Returns

The child position portion of the packed position. If this does not contain a child, returns -1.

Attributes

Remarks

Gets the child position from a packed position that is of #PACKED_POSITION_TYPE_CHILD type (use #getPackedPositionType(long)). To get the group that this child belongs to, use #getPackedPositionGroup(long). See #getPackedPositionForChild(int, int).

Java documentation for android.widget.ExpandableListView.getPackedPositionChild(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