zhpanvip / viewpagerindicator

🔥 Worked with ViewPager and ViewPager2,support multiple slider styles and multiple slide mode.This repo was split from BannerViewPager-
https://github.com/zhpanvip/BannerViewPager
Apache License 2.0
695 stars 58 forks source link

Making The Indicators infinite #31

Open space551 opened 1 year ago

space551 commented 1 year ago

It works well when the items a let say 5 but when I have 30 items or maybe 100 then the dots will grow on I want to limit the indicator to 4 or 5 if there are more dots . Like In the below image I have 34 activities I want the only 4 dots. to appear and repeat them again till the last item.

iScreen Shoter - Android Studio - 230927100251

sopovar commented 1 year ago

I have same issue, I want to limit dots.

Screenshot 2023-09-28 at 14 49 02
space551 commented 1 year ago

The dots can be limit using setpage size attribute but the problem is they aren't infinite let say if I have 34 items and I've set the page size to 4 then after 4 the selection indicator will not show until unless I again move backwards from 4.

On Thu, 28 Sept 2023, 3:51 pm sopovar, @.***> wrote:

I have same issue, I want to limit dots. [image: Screenshot 2023-09-28 at 14 49 02] https://user-images.githubusercontent.com/27852194/271259100-03c84acd-3954-4fd9-a8ee-9bd908c2a9d3.png

— Reply to this email directly, view it on GitHub https://github.com/zhpanvip/viewpagerindicator/issues/31#issuecomment-1738916252, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7WRGLKWT34QTIZHYXNCWVLX4VJDTANCNFSM6AAAAAA5IXRVBI . You are receiving this because you authored the thread.Message ID: @.***>