Siralam LoopingViewPager Versions Save

A ViewPager and PagerAdapter combination that support auto scroll, infinite loop and page indicators.

v1.4.1

3 years ago
  • Removed setting aspect ratio inside LoopingViewPager. Let its parent decide how to layout it (i.e. its height).
  • Same as above, removed itemAspectRatio as well. You can actually simply set it through padding and clipToPadding=false.
  • Removed unnecessary context as a param in LoopingPagerAdapter's constructor.
  • Migrated from JCenter() to MavenCentral().

v1.1.0

6 years ago

Added support for view type. But therefore changed parameters needed in inflateView() and bindView().

v1.0.5

6 years ago
  1. Added asepct ratio attribute for LoopingViewPager
  2. Rewrote the way of caching Views in LoopingPagerAdapter, and therefore separated inflation and data binding
  3. Rewrote the way of implementing ViewPager wrap_content

v1.0.1

6 years ago

Fixed a bug where getSelectingIndicatorPosition() is returning incorrect value.