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?
I think you can set current page to the last page using viewPager.setCurrentItem(). Then it will swipe left to right .. :)
viewPager.setCurrentItem()
2.1m questions
2.1m answers
60 comments
57.0k users