User User - 2 years ago 196
Android Question

how to make my viewpager swipe from right to left

I have a viewpager and it contains some information but it lets me swipe the pages from left to right how can I make it swipe from left to right which means change its direction?

Answer Source

I think you can set current page to the last page using viewPager.setCurrentItem(). Then it will swipe left to right .. :)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download