Android Studio中报错如下:
看了好几遍代码,最终找到是因为事件传递优先级的问题
事件传递优先级:onTouchListener.onTouch > onTouchEvent > onClickListener.onClick
感觉是个小傻子
Android Studio中报错如下:
看了好几遍代码,最终找到是因为事件传递优先级的问题
事件传递优先级:onTouchListener.onTouch > onTouchEvent > onClickListener.onClick
感觉是个小傻子