-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carousel with dynamic data #201
Comments
Hi @egvrcn, Regarding the "strange" behavior on Android, make sure to read this really important note. Regarding the performance of the carousel, note that the component is basically a One thing that might help you though: |
Other things you should try:
|
Thanks for answer @bd-arc . I did 2 and 3 solutions. It works better.
|
@egvrcn Note that it shouldn't be needed if you use |
I have tried to use shouldcomponentupdate and purecomponent. |
@egvrcn You're welcome! Thanks for the feedback on I'm going to close the issue because there is only so much we can do about it. Let's follow I'll make sure to add everything we've shared so far to the doc; it can prove useful for other users. |
The issue I'm getting with dynamic data is that I'm trying to always have a set of 3 items, swap out the first and last, but then Carousel never recognizes that there are more than 3 items in the array. Does anyone have an example of how they solved this or got around it? So I have this: |
I'm using your carousel project. I wanted to bind 1000 items to carousel.
My code works, but when i update state of carouselData, app is waiting almost 10 seconds.
This wait is so long for user experience.
And carousel strange behaviour. Like this video.
I want to pass one by one.
How can i fast update data.
I bind data like this on onSnapToItem event:
The text was updated successfully, but these errors were encountered: