How to show page indicator for LazyHGrid in Swift UI

758 Views Asked by At

I want to achieve the pagination and page indicator with dots as in Swift (UIPageControl) in swift UI. I am using a lazy H grid, and a button inside a for Each loop to get the horizontal grid. How to add the page indicator to LazyHgrid to achieve this design? enter image description here

0

There are 0 best solutions below