tommybuonomo/dotsindicator

ViewPager2 compatibility?

JavierSegoviaCordoba opened this issue · 4 comments

Is this library compatible with ViewPager2?

gmale commented

It does not appear to be, since ViewPager2 does not extend ViewPager and this library is tightly coupled with ViewPager. It should be tweaked to add an abstraction above the ViewPager to just extract the necessary information.

Uni2K commented

Its pretty easy to adjust the files to work with viewpager2.

Very much needed

Available on the version 4.0 with setViewPager2() method