User User - 6 months ago 87
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

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