Android Guides | Samples

Android.App.ListActivity.SelectedItemId Property

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

Syntax

[get: Android.Runtime.Register("getSelectedItemId", "()J", "GetGetSelectedItemIdHandler")]
public virtual Int64 SelectedItemId { get; }

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1