Share via


ListFragment.SelectedItemId Property

Definition

Get the cursor row ID of the currently selected list item.

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

Property Value

Attributes

Remarks

Get the cursor row ID of the currently selected list item.

Java documentation for android.app.ListFragment.getSelectedItemId().

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