If I click the pager while the scroll is taking place, the pager sometimes fast-scrolls to the next item, and sometimes to the previous one. I have an onClick() event listener on each pager item that should open another activity. I need this listener to keep working even if the pager was clicked during the transition.
Is there a way to implement this?
Note: your demo Android application (Trinea Android demo) shows the undesired behaviour in the “AutoScrollViewPager demo”, but the problem doesn’t occur when we further navigate into the “AutoScrollViewPager demo >ViewPager in ViewPager Demo” page.
If I click the pager while the scroll is taking place, the pager sometimes fast-scrolls to the next item, and sometimes to the previous one. I have an onClick() event listener on each pager item that should open another activity. I need this listener to keep working even if the pager was clicked during the transition.
Is there a way to implement this?
Note: your demo Android application (Trinea Android demo) shows the undesired behaviour in the “AutoScrollViewPager demo”, but the problem doesn’t occur when we further navigate into the “AutoScrollViewPager demo >ViewPager in ViewPager Demo” page.