Swiper/carousel component for React Native featuring previews, multiple layouts, parallax images, performant handling of huge numbers of items, and more. Compatible with Android & iOS.
BSD 3-Clause "New" or "Revised" License
10.37k
stars
2.29k
forks
source link
how to get index of the item, when pagingEnabled #927
I want to use pagingEnabled option in Carousel, since it is working as expected and is not giving any performance issue in android.
Without using that prop, their is slight delay in manually scrolling the items placed horizontally , but on iOS it working fine.
I want to use pagingEnabled option in Carousel, since it is working as expected and is not giving any performance issue in android. Without using that prop, their is slight delay in manually scrolling the items placed horizontally , but on iOS it working fine.
This is what the initial implementation was.
But it not working. so added changed it to following
Please suggest. Stuck here.