After adding the dotsindicator with Viewpager by using dotsIndicator.attachTo(viewPager2). Is there any mechanism like button click callback that would give us indicator position change callback?
The only thing I could find is dotsIndicator.verticalScrollbarPosition
P.S: There might be some solution that already exists I couldn't find, if yes please help me with this issue.
After adding the dotsindicator with Viewpager by using
dotsIndicator.attachTo(viewPager2)
. Is there any mechanism like button click callback that would give us indicator position change callback? The only thing I could find isdotsIndicator.verticalScrollbarPosition
P.S: There might be some solution that already exists I couldn't find, if yes please help me with this issue.