Sdílet prostřednictvím


View.SetOnHoverListener(View+IOnHoverListener) Method

Definition

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

[Android.Runtime.Register("setOnHoverListener", "(Landroid/view/View$OnHoverListener;)V", "GetSetOnHoverListener_Landroid_view_View_OnHoverListener_Handler")]
public virtual void SetOnHoverListener (Android.Views.View.IOnHoverListener? l);
[<Android.Runtime.Register("setOnHoverListener", "(Landroid/view/View$OnHoverListener;)V", "GetSetOnHoverListener_Landroid_view_View_OnHoverListener_Handler")>]
abstract member SetOnHoverListener : Android.Views.View.IOnHoverListener -> unit
override this.SetOnHoverListener : Android.Views.View.IOnHoverListener -> unit

Parameters

l
View.IOnHoverListener

the hover listener to attach to this view

Attributes

Remarks

Java documentation for android.view.View.setOnHoverListener(android.view.OnHoverListener).

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