I'd like to force the animation triggered by the finger-swipe on a ViewPager - something like, when I press a button outside the ViewPager, it does the fancy animation. I've tried something like:
myPagerAdapter.instantiateItem(myPager, requested_view_id)
myPager.computeScroll()
myPager.invalidate()
But it didn't work.
Any ideas?
Thanks!