Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to make my viewpager swipe from right to left

Tags:

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?

like image 646
User Avatar asked Sep 13 '13 08:09

User


1 Answers

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

like image 129
Ashish Kumar Avatar answered Oct 11 '22 12:10

Ashish Kumar