Skip to content

karonque/InfinitePageIndicator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published