View.SetOnClickListener(View+IOnClickListener) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Register a callback to be invoked when this view is clicked.
[Android.Runtime.Register("setOnClickListener", "(Landroid/view/View$OnClickListener;)V", "GetSetOnClickListener_Landroid_view_View_OnClickListener_Handler")]
public virtual void SetOnClickListener (Android.Views.View.IOnClickListener? l);
[<Android.Runtime.Register("setOnClickListener", "(Landroid/view/View$OnClickListener;)V", "GetSetOnClickListener_Landroid_view_View_OnClickListener_Handler")>]
abstract member SetOnClickListener : Android.Views.View.IOnClickListener -> unit
override this.SetOnClickListener : Android.Views.View.IOnClickListener -> unit
Parameters
The callback that will run
- Attributes
Remarks
Java documentation for android.view.View.setOnClickListener(android.view.OnClickListener)
.
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.