-
public interface DelegatedTouchEventViewGroup.Delegate
-
-
Method Summary
Modifier and Type Method Description abstract booleanonInterceptTouchEvent(MotionEvent ev, DelegatedTouchEventViewGroup source)Delegated onInterceptTouchEventWorks exactly like the original method, this completly takes over it so make sureyou implement it correctly abstract booleanonTouchEvent(MotionEvent event, DelegatedTouchEventViewGroup source, boolean wantsCancellationOnInterception)Delegated onTouchEventWorks exactly like the original method, this completly takes over it so make sureyou implement it correctlyViews can ask to receive a "fake" cancellation touch event when the delegate starts actingon touches (like responding to a pan action)This is useful if your view itself handles a touch event (like a tap) and not a subviewas this case is NOT handled by onInterceptTouchEvent -
-
Method Detail
-
onInterceptTouchEvent
abstract boolean onInterceptTouchEvent(MotionEvent ev, DelegatedTouchEventViewGroup source)
Delegated onInterceptTouchEvent
Works exactly like the original method, this completly takes over it so make sureyou implement it correctly
-
onTouchEvent
abstract boolean onTouchEvent(MotionEvent event, DelegatedTouchEventViewGroup source, boolean wantsCancellationOnInterception)
Delegated onTouchEvent
Works exactly like the original method, this completly takes over it so make sureyou implement it correctly
Views can ask to receive a "fake" cancellation touch event when the delegate starts actingon touches (like responding to a pan action)This is useful if your view itself handles a touch event (like a tap) and not a subviewas this case is NOT handled by onInterceptTouchEvent
-
-
-
-