net.simonvt.menudrawer
Interface MenuDrawer.OnInterceptMoveEventListener
- Enclosing class:
- MenuDrawer
public static interface MenuDrawer.OnInterceptMoveEventListener
Callback that is invoked when the drawer is in the process of deciding whether it should intercept the touch
event. This lets the listener decide if the pointer is on a view that would disallow dragging of the drawer.
This is only called when the touch mode is MenuDrawer.TOUCH_MODE_FULLSCREEN.
|
Method Summary |
boolean |
isViewDraggable(android.view.View v,
int delta,
int x,
int y)
Called for each child the pointer i on when the drawer is deciding whether to intercept the touch event. |
isViewDraggable
boolean isViewDraggable(android.view.View v,
int delta,
int x,
int y)
- Called for each child the pointer i on when the drawer is deciding whether to intercept the touch event.
- Parameters:
v - View to test for draggabilitydelta - Delta drag in pixelsx - X coordinate of the active touch pointy - Y coordinate of the active touch point
- Returns:
- true if view is draggable by delta dx.
Copyright © 2012-2013. All Rights Reserved.