public static interface View.OnDragListener
For a guide to implementing drag and drop features, read the Drag and Drop developer guide.
Modifier and Type | Method and Description |
---|---|
boolean |
onDrag(View v,
DragEvent event)
Called when a drag event is dispatched to a view.
|
boolean onDrag(View v, DragEvent event)
v
- The View that received the drag event.event
- The DragEvent
object for the drag event.true
if the drag event was handled successfully, or false
if the drag event was not handled. Note that false
will trigger the View
to call its onDragEvent()
handler.