AsyncImageView
AsyncImageView copied to clipboard
ImageView show another image
Hi
I create tableview with AsyncImageView (AIV) element in each cell, when i scroll the table, the AIV will somehow show image from other AIV's cell which already fully / partially loaded instead of load indicator, Sure it will return to its original assigned image after fully loaded, but before that, it will cause weirdness..
is this a bug?
+1
#13
+1
You need to set the image url to nil before setting the new url, because otherwise the recycled cell may still be loading an image from the previous time it was used.
Thank you! I will have a try!
2015-02-08 20:33 GMT+08:00 Nick Lockwood [email protected]:
You need to set the image url to nil before setting the new url, because otherwise the recycled cell may still be loading an image from the previous time it was used.
— Reply to this email directly or view it on GitHub https://github.com/nicklockwood/AsyncImageView/issues/50#issuecomment-73408935 .
What worked for me is setting the cross fade duration to 0.0. There was no other way of getting rid of the flickering when scrolling in my collection view. I tried canceling the loading and setting the imageURL to nil, but nothing helped. Well, no nice fade animations anymore, but the flickering is gone.