MotionEvent.Action_Cancel什么时候发生?

2018-01-12  本文已影响0人  jubincn

子View在处理一个Touch事件中,父View的onInterceptTouchEvent返回true,此时子View会接收到MotionEvent.Action_Cancel。

参考资料:
https://stackoverflow.com/questions/5240719/whats-the-difference-between-action-cancel-and-action-up-in-motionevent

上一篇 下一篇

猜你喜欢

热点阅读