When the TouchEvent will be delivered to the child view , not pass the
ViewGroup's onInterceptTouchEvent method
First, when the TouchEvent happen, it will passed the ViewGroup's
dispatchTouchEvent method. then ViewGroup's onInterceptTouchEvent method .
In my opinino, if the ViewGroup's onInterceptTouchEvent always return
false, the subsequent TouchEvent will always be passed to the ViewGroup's
onInterceptTouchEvent method first , then passed to the ChildView. But I
fond what i think is wrong when i test. Can you tell me the relation
between the ViewGroup's onInterceptTouchEvent method and the ChildView ?
When the TouchEvent will always pass the ViewGroup's onInterceptTouchEvent
method first then pass to the ChildView ?
No comments:
Post a Comment