Condividi tramite


ExpandableListActivity.SelectedPosition Property

Definition

Gets the position (in packed position representation) of the currently selected group or child.

public virtual long SelectedPosition { [Android.Runtime.Register("getSelectedPosition", "()J", "GetGetSelectedPositionHandler")] get; }
[<get: Android.Runtime.Register("getSelectedPosition", "()J", "GetGetSelectedPositionHandler")>]
member this.SelectedPosition : int64

Property Value

A packed position representation containing the currently selected group or child's position and type.

Attributes

Remarks

Gets the position (in packed position representation) of the currently selected group or child. Use ExpandableListView#getPackedPositionType, ExpandableListView#getPackedPositionGroup, and ExpandableListView#getPackedPositionChild to unpack the returned packed position.

Java documentation for android.app.ExpandableListActivity.getSelectedPosition().

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