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


AdapterView.OnItemClickListener Property

Definition

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

public Android.Widget.AdapterView.IOnItemClickListener? OnItemClickListener { [Android.Runtime.Register("getOnItemClickListener", "()Landroid/widget/AdapterView$OnItemClickListener;", "")] get; [Android.Runtime.Register("setOnItemClickListener", "(Landroid/widget/AdapterView$OnItemClickListener;)V", "GetSetOnItemClickListener_Landroid_widget_AdapterView_OnItemClickListener_Handler")] set; }
[<get: Android.Runtime.Register("getOnItemClickListener", "()Landroid/widget/AdapterView$OnItemClickListener;", "")>]
[<set: Android.Runtime.Register("setOnItemClickListener", "(Landroid/widget/AdapterView$OnItemClickListener;)V", "GetSetOnItemClickListener_Landroid_widget_AdapterView_OnItemClickListener_Handler")>]
member this.OnItemClickListener : Android.Widget.AdapterView.IOnItemClickListener with get, set

Property Value

The callback to be invoked with an item in this AdapterView has been clicked, or null if no callback has been set.

Attributes

Remarks

Property getter documentation:

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

Property setter documentation:

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