I have implemented this https://stackoverflow.com/a/22797619/3064486 (Vertical ViewPager) in my activity. The fragments that my adapter puts inside the viewpager is having a scrollview in it.
When I reach the bottom of the scrollview it does not switch page in the viewpager. However, if I swipe from the right or left bottom corner it kind of works, it's a bit hard to explain but it jumps 20-30% of the full swipe (from page 1 to page 2) and if I immediately release it goes back and I can also swipe to continue the page switch.
I believe my scrollview is the problem here..
ViewPager
<com.mypackage.MyVerticalViewPager>
The fragment
<LinearLayout>
<ScrollView>
<!-- massive amount of stuff -->
</ScrollView>
</LinearLayout>
I have tried answers here:
https://stackoverflow.com/a/14435116/3064486
Edit: I tried this https://github.com/castorflex/VerticalViewPager/blob/master/library/src/main/java/fr/castorflex/android/verticalviewpager/VerticalViewPager.java And got the vertical scroll to work. The ScrollView also works but when I get to the bottom I need to really FLING the finger to get to the other page. I guess I have to remove some kind of overscroll for the scrollView. Anyone have any idea?