Udostępnij za pośrednictwem


View.OnHoverChanged(Boolean) Method

Definition

Implement this method to handle hover state changes.

[Android.Runtime.Register("onHoverChanged", "(Z)V", "GetOnHoverChanged_ZHandler")]
public virtual void OnHoverChanged (bool hovered);
[<Android.Runtime.Register("onHoverChanged", "(Z)V", "GetOnHoverChanged_ZHandler")>]
abstract member OnHoverChanged : bool -> unit
override this.OnHoverChanged : bool -> unit

Parameters

hovered
Boolean

The current hover state, as returned by #isHovered.

Attributes

Remarks

Implement this method to handle hover state changes.

This method is called whenever the hover state changes as a result of a call to #setHovered.

Java documentation for android.view.View.onHoverChanged(boolean).

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