Compartilhar via


ListPopupWindow.SetOnItemSelectedListener Method

Definition

Sets a listener to receive events when a list item is selected.

[Android.Runtime.Register("setOnItemSelectedListener", "(Landroid/widget/AdapterView$OnItemSelectedListener;)V", "GetSetOnItemSelectedListener_Landroid_widget_AdapterView_OnItemSelectedListener_Handler")]
public virtual void SetOnItemSelectedListener (Android.Widget.AdapterView.IOnItemSelectedListener? selectedListener);
[<Android.Runtime.Register("setOnItemSelectedListener", "(Landroid/widget/AdapterView$OnItemSelectedListener;)V", "GetSetOnItemSelectedListener_Landroid_widget_AdapterView_OnItemSelectedListener_Handler")>]
abstract member SetOnItemSelectedListener : Android.Widget.AdapterView.IOnItemSelectedListener -> unit
override this.SetOnItemSelectedListener : Android.Widget.AdapterView.IOnItemSelectedListener -> unit

Parameters

selectedListener
AdapterView.IOnItemSelectedListener

Listener to register.

Attributes

Remarks

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

See also