Closed juliocbcotta closed 11 years ago
The solution above disables the vertical scroll the in the ViewPager, a better solution isshown here http://stackoverflow.com/questions/2646028/android-horizontalscrollview-within-scrollview-touch-handling
Please close this issue.
Hi, I think I found an issue while using the ViewPager and CirclePageIndicator inside a ScrollView. The ScrollView and the ViewPager fight by the control of the Gesture and the result is the ViewPager does not work properly. After some research I found that adding the line " mViewPager.getParent().requestDisallowInterceptTouchEvent(true);" to
make the CirclePageIndicator (probable in the others PageIndicators) make it work nicely. However I don't know how it affects the ScrollView behavior. Thanks for your attention.