View.SetOnTouchListener(View+IOnTouchListener) View.SetOnTouchListener(View+IOnTouchListener) Method

Definition

Register a callback to be invoked when a touch event is sent to this view.

[Android.Runtime.Register("setOnTouchListener", "(Landroid/view/View$OnTouchListener;)V", "GetSetOnTouchListener_Landroid_view_View_OnTouchListener_Handler")]
public virtual void SetOnTouchListener (Android.Views.View.IOnTouchListener l);
abstract member SetOnTouchListener : Android.Views.View.IOnTouchListener -> unit
override this.SetOnTouchListener : Android.Views.View.IOnTouchListener -> unit

Parameters

l
View.IOnTouchListener View.IOnTouchListener

the touch listener to attach to this view

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