android事件分发总结

1.Activity中有dispatchTouchEvent()方法。 2.ViewGroup有三个方法,分别是dispatchTouchEvent(),onInterceptTouchEvent(),onTouchEvent()。 3.View有两个方法,分别是dispatchTouchEvent(),onTouchEvent()。 1.dispatchTouchEvent()用来分派事件。 其
相关文章
相关标签/搜索