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


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);
[<Android.Runtime.Register("setOnTouchListener", "(Landroid/view/View$OnTouchListener;)V", "GetSetOnTouchListener_Landroid_view_View_OnTouchListener_Handler")>]
abstract member SetOnTouchListener : Android.Views.View.IOnTouchListener -> unit
override this.SetOnTouchListener : Android.Views.View.IOnTouchListener -> unit

Parameters

l
View.IOnTouchListener

the touch listener to attach to this view

Attributes

Remarks

Java documentation for android.view.View.setOnTouchListener(android.view.OnTouchListener).

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