We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如果View不消耗ACTION_DOWN以外的其他事件,那么这个点击事件会消失,此时父元素的onTouchEvent并不会被调用,并且当前View可以持续收到后续事件,最终这些消失的点击事件会传递给Activity处理。
The text was updated successfully, but these errors were encountered:
同问,测试了好多遍都无法理解。求大神指导
Sorry, something went wrong.
测试的时候只要 MotionEvent.ACTION_DOWN里面return true;或者case MotionEvent.ACTION_UP里面不管return true or false,点击事件都会消失。跟文中描述的不一样,不理解。求解惑
No branches or pull requests
如果View不消耗ACTION_DOWN以外的其他事件,那么这个点击事件会消失,此时父元素的onTouchEvent并不会被调用,并且当前View可以持续收到后续事件,最终这些消失的点击事件会传递给Activity处理。
The text was updated successfully, but these errors were encountered: