react-native-looped-carousel icon indicating copy to clipboard operation
react-native-looped-carousel copied to clipboard

¿How do to lazy load?

Open jasmo2 opened this issue 8 years ago • 2 comments

Hello I am rendering a lot slides so I prefer to do a lazy on each swipe call. ¿How could it be posible?

jasmo2 avatar Jan 27 '17 20:01 jasmo2

I'm not sure if this is still relevant to you, but I guess you would need to monitor the carousel state through currentPage and tell your views to update as necessary.

In case you don't know the number of pages beforehand, than even that might not work as it might mess the pagination up.

viktorsec avatar May 09 '17 23:05 viktorsec

i guess using flatlist instead of scrollview will do the magic?

calvinkei avatar Sep 08 '20 04:09 calvinkei