共用方式為


ListActivity.SelectedItemPosition Property

Definition

Get the position of the currently selected list item.

public virtual int SelectedItemPosition { [Android.Runtime.Register("getSelectedItemPosition", "()I", "GetGetSelectedItemPositionHandler")] get; }
[<get: Android.Runtime.Register("getSelectedItemPosition", "()I", "GetGetSelectedItemPositionHandler")>]
member this.SelectedItemPosition : int

Property Value

Attributes

Remarks

Get the position of the currently selected list item.

Java documentation for android.app.ListActivity.getSelectedItemPosition().

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