I have a class that extends SimpleOnPageChangeListener, and in my onPageScrollStateChanged method I want to determine if the user skipped forward or backward through the ViewPager. That is, whether they scrolled from left to right or from right to left.
I have done a lot for this, but I canβt find anything. I expected the onPageScrollStateChanged method to provide a parameter indicating which direction the page was in, but it does not.
@Override public void onPageScrollStateChanged(int state) {
Does anyone have any ideas?
Greetings Mike
source share