view事件傳遞機制

主要方法 publish boolean dispatcherTouchEvent(MotionEvent ev):如果事件能夠傳遞給該view,該方法一定會調用,返回結果受當前view的onTouchEvent和下級view的dispatcherTouchEvent的影響,表示是否消耗當前事件。 publish boolean onInteceptTouchEvent(MotionEvent e
相關文章
相關標籤/搜索