Android Reference
View.OnHoverListener
android.view
Interface View.OnHoverListener
-
- Enclosing class:
- View
public static interface View.OnHoverListener
Interface definition for a callback to be invoked when a hover event is
dispatched to this view. The callback will be invoked before the hover
event is given to the view.
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
boolean |
onHover(View v,
MotionEvent event)
Called when a hover event is dispatched to a view.
|
-
-
Method Detail
-
onHover
boolean onHover(View v,
MotionEvent event)
Called when a hover event is dispatched to a view. This allows listeners to
get a chance to respond before the target view.
- Parameters:
v
- The view the hover event has been dispatched to.event
- The MotionEvent object containing full information about
the event.
- Returns:
- True if the listener has consumed the event, false otherwise.
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 225 / 159132073. Delta: 0.03790 с