다음을 통해 공유


ExpandableListView.SelectedId Property

Definition

Gets the ID of the currently selected group or child.

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

Property Value

The ID of the currently selected group or child. -1 if no selection.

Attributes

Remarks

Gets the ID of the currently selected group or child. Can return -1 if no selection.

Java documentation for android.widget.ExpandableListView.getSelectedId().

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