Skip to content

About

Infinite Page Indicator

Resources

Stars

20 stars

Watchers

48 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

InfinitePageIndicator

The project shows how to make infinite ViewPager with the page indicator. It is based on 2 other projects:

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

For now only CirclePageIndicator is supported. How to adapt any other indicator for infinite scrolling? The easiest way to do it:

  1. Replace in the source code of the indicator all references to the method adapter.getCount() with adapter.getRealCount().
  2. Remove of modify onTouchEvent.
  3. Modify or disable page scrolling animation using setSnap(true).

About

Infinite Page Indicator

Resources

Stars

20 stars

Watchers

48 watching

Forks

Releases

Packages

Used by

Contributors

Languages