posted 9 years ago
I have a viewpager with several fragments.I need to handle onTouch event.I found that there are several methods dispatchTouchEvent, onInterceptTouchEvent, onTouchEvent.How to intercept to handle click event.I called my own method in onInterceptTouchEvent,but then it doesn't work the vertical scrollbar.Then i change the return type to fasle from onInterceptTouchEvent.Then it doesn't work the horizontal scrollbar.