Compartir a través de


View.SetOnContextClickListener(View+IOnContextClickListener) Method

Definition

Register a callback to be invoked when this view is context clicked.

[Android.Runtime.Register("setOnContextClickListener", "(Landroid/view/View$OnContextClickListener;)V", "GetSetOnContextClickListener_Landroid_view_View_OnContextClickListener_Handler", ApiSince=23)]
public virtual void SetOnContextClickListener (Android.Views.View.IOnContextClickListener? l);
[<Android.Runtime.Register("setOnContextClickListener", "(Landroid/view/View$OnContextClickListener;)V", "GetSetOnContextClickListener_Landroid_view_View_OnContextClickListener_Handler", ApiSince=23)>]
abstract member SetOnContextClickListener : Android.Views.View.IOnContextClickListener -> unit
override this.SetOnContextClickListener : Android.Views.View.IOnContextClickListener -> unit

Parameters

l
View.IOnContextClickListener

The callback that will run

Attributes

Remarks

Java documentation for android.view.View.setOnContextClickListener(android.view.OnContextClickListener).

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