ExpandableListView.SelectedPosition Property

Definition

Gets the position of the currently selected group or child (along with its type).

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 containing the currently selected group or child's position and type. #PACKED_POSITION_VALUE_NULL if no selection or if selection is on a header or a footer item.

Attributes

Remarks

Gets the position of the currently selected group or child (along with its type). Can return #PACKED_POSITION_VALUE_NULL if no selection.

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