Share via


ExpandableListView.GetPackedPositionGroup(Int64) Method

Definition

Gets the group position from a packed position.

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

Parameters

packedPosition
Int64

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

Returns

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

Attributes

Remarks

Gets the group position from a packed position. See #getPackedPositionForChild(int, int).

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