I have a ViewPager with more pages and on every page is LineChart (width = match_parent). If user scrolls to the end of the first chart, next when he scrolls again I want to start showing the next chart (like ViewPager change page). But if the user is in the middle of the chart then he should scroll only in the chart itself (not between pages in the ViewPager).
I'm trying override onInterceptTouchEvent()
and onTouchEvent()
of the ViewPager but it still not working good...
I also found this: https://github.com/PhilJay/MPAndroidChart/issues/1885 but there is not a solution...
Do you have some suggestion?