GoodPagerIndicator for ViewPager2 is ready for your project. :-)
Tested and ready as version 1.0.0..
GoodPagerIndicator, as the carrier of the name of this library, distributes progress between several dots, not just two adjacent ones. Most libraries do not solve this problem.
You can set the minimum or maximum dot size, color of active or inactive one, interpolators and many other parameters to make your application stand out better.
The library is stored on jitpack.io Thanks to that, it will be easy to use it in your project as well.
You can find all the details and necessary information on our GitHub project.