Created
April 5, 2020 08:48
-
-
Save XjojoX1989/4659c0008638d09cc999a241d3c9470b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public boolean dispatchTouchEvent(MotionEvent ev) { | |
boolean consume = false; | |
if (onInterceptTouchEvent(ev)) { | |
consume = onTouchEvent(ev); | |
} else { | |
consume = child.dispatchTouchEvent(ev); | |
} | |
return consume; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment