原创 View事件分發機制僞代碼解析
主要從View,ViewGroup2個方面分析1.view 角度:dispatchTouchEvent僞代碼如下:public boolean dispatchTouchEvent(MotionEvent event) { if
主要從View,ViewGroup2個方面分析1.view 角度:dispatchTouchEvent僞代碼如下:public boolean dispatchTouchEvent(MotionEvent event) { if