美文网首页
MotionEvent.Action_Cancel什么时候发生?

MotionEvent.Action_Cancel什么时候发生?

作者: jubincn | 来源:发表于2018-01-12 17:57 被阅读0次

    子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

    相关文章

      网友评论

          本文标题:MotionEvent.Action_Cancel什么时候发生?

          本文链接:https://www.haomeiwen.com/subject/zjnfoxtx.html