View.SetOnLongClickListener(View+IOnLongClickListener) View.SetOnLongClickListener(View+IOnLongClickListener) Method

Definition

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

[Android.Runtime.Register("setOnLongClickListener", "(Landroid/view/View$OnLongClickListener;)V", "GetSetOnLongClickListener_Landroid_view_View_OnLongClickListener_Handler")]
public virtual void SetOnLongClickListener (Android.Views.View.IOnLongClickListener l);
abstract member SetOnLongClickListener : Android.Views.View.IOnLongClickListener -> unit
override this.SetOnLongClickListener : Android.Views.View.IOnLongClickListener -> unit

Parameters

Remarks

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