Megosztás a következőn keresztül:


AdapterView.SelectedItem Property

Definition

public virtual Java.Lang.Object? SelectedItem { [Android.Runtime.Register("getSelectedItem", "()Ljava/lang/Object;", "GetGetSelectedItemHandler")] get; }
[<get: Android.Runtime.Register("getSelectedItem", "()Ljava/lang/Object;", "GetGetSelectedItemHandler")>]
member this.SelectedItem : Java.Lang.Object

Property Value

The data corresponding to the currently selected item, or null if there is nothing selected.

Attributes

Remarks

Java documentation for android.widget.AdapterView.getSelectedItem().

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