Android 事件分发机制
1.View的事件分发 流程 dispatchTouchEvent(): onTouchListener—>onTouch方法 onTouchEvent onClickListener—>onClick方法 ListenerInfo static class ListenerInfo { /** * Listener used to dispatch focus change events. * This field should be made private, so it is hidden from the SDK. * { @hide } */ protected OnFocusChangeListener mOnFocusChangeListener ; /** * Listeners for layout change events. */ private ArrayList < OnLayoutChangeListener > mOnLayoutChangeListeners ; protected OnScrollChangeListener mOnScrollChangeListener ; /** * Listeners for attach events. */ private CopyOnWriteArrayList <