View.OnHoverChanged(Boolean) 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.
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.