Sdílet prostřednictvím


ListPopupWindow.SetOnItemClickListener Method

Definition

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

[Android.Runtime.Register("setOnItemClickListener", "(Landroid/widget/AdapterView$OnItemClickListener;)V", "GetSetOnItemClickListener_Landroid_widget_AdapterView_OnItemClickListener_Handler")]
public virtual void SetOnItemClickListener (Android.Widget.AdapterView.IOnItemClickListener? clickListener);
[<Android.Runtime.Register("setOnItemClickListener", "(Landroid/widget/AdapterView$OnItemClickListener;)V", "GetSetOnItemClickListener_Landroid_widget_AdapterView_OnItemClickListener_Handler")>]
abstract member SetOnItemClickListener : Android.Widget.AdapterView.IOnItemClickListener -> unit
override this.SetOnItemClickListener : Android.Widget.AdapterView.IOnItemClickListener -> unit

Parameters

clickListener
AdapterView.IOnItemClickListener

Listener to register

Attributes

Remarks

Java documentation for android.widget.ListPopupWindow.setOnItemClickListener(android.widget.OnItemClickListener).

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