siralam / LoopingViewPager

A ViewPager and PagerAdapter combination that support auto scroll, infinite loop and page indicators.
532 stars 64 forks source link

Start from a given position #9

Closed smidaharoun closed 6 years ago

smidaharoun commented 6 years ago

Is there a way to start from a given position like the second of the third element?

smidaharoun commented 6 years ago

viewPager.setCurrentItem(position);