Share via


AdapterView.OnItemSelectedListener Property

Definition

Register a callback to be invoked when an item in this AdapterView has been selected.

public Android.Widget.AdapterView.IOnItemSelectedListener? OnItemSelectedListener { [Android.Runtime.Register("getOnItemSelectedListener", "()Landroid/widget/AdapterView$OnItemSelectedListener;", "")] get; [Android.Runtime.Register("setOnItemSelectedListener", "(Landroid/widget/AdapterView$OnItemSelectedListener;)V", "GetSetOnItemSelectedListener_Landroid_widget_AdapterView_OnItemSelectedListener_Handler")] set; }
[<get: Android.Runtime.Register("getOnItemSelectedListener", "()Landroid/widget/AdapterView$OnItemSelectedListener;", "")>]
[<set: Android.Runtime.Register("setOnItemSelectedListener", "(Landroid/widget/AdapterView$OnItemSelectedListener;)V", "GetSetOnItemSelectedListener_Landroid_widget_AdapterView_OnItemSelectedListener_Handler")>]
member this.OnItemSelectedListener : Android.Widget.AdapterView.IOnItemSelectedListener with get, set

Property Value

Attributes

Remarks

Java documentation for android.widget.AdapterView.setOnItemSelectedListener(android.widget.OnItemSelectedListener).

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