Prateek Kaushik
Prateek Kaushik

Reputation: 51

ViewPager Automatic Partial Swipe

I have got three pages in my viewpager and by default i have to set the middle one. But for the first time I want to swipe the viewpager a little left and then right to indicate to a user that there are also two more pages, left and right to it. Please guide regarding the automatic partial swipe of viewpager.

Thanks.

Upvotes: 5

Views: 470

Answers (1)

bhavesh kaila
bhavesh kaila

Reputation: 761

please refere this sample code.In this example you will get how to do automatic swipe of viewpager.

https://github.com/JakeWharton/Android-ViewPagerIndicator

before using this library i also have some problem when i use pager.

Upvotes: 1

Related Questions