-
Notifications
You must be signed in to change notification settings - Fork 429
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
view recycling and "prepare for reuse" #84
Comments
You can always call setNativeProps directly on the ref of the image in |
@naqvitalha thanks i ll try! |
Close the issue if it worked. |
Inactive for a while. Closing. |
Hey @naqvitalha .
|
I wander if there is an example with images ? |
@naqvitalha are you using with |
@naqvitalha sorry for not responding. Dropped react-native as it was not good enough. |
@hovox Try |
On iOs and android we use "prepare for reuse" to make sure a view is ready to be reused.
The simplest example is
Image
if there were an image already loaded and you set a new image that wont load (network error or such), you end with a view with the image for another cell.Is there any way in your lib to set the image to "null" before it is reused?
Thanks
The text was updated successfully, but these errors were encountered: