次の方法で共有


AdapterView.SelectedItemId Property

Definition

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

Property Value

The id corresponding to the currently selected item, or #INVALID_ROW_ID if nothing is selected.

Attributes

Remarks

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