Skip to content
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

ImageView show another image #50

Open
deckyfx opened this issue Jun 16, 2014 · 6 comments
Open

ImageView show another image #50

deckyfx opened this issue Jun 16, 2014 · 6 comments

Comments

@deckyfx
Copy link

deckyfx commented Jun 16, 2014

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?

@s
Copy link

s commented Aug 3, 2014

+1

@maulikpat
Copy link

#13

@mayqiyue
Copy link

mayqiyue commented Feb 8, 2015

+1

@nicklockwood
Copy link
Owner

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.

@mayqiyue
Copy link

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
#50 (comment)
.

@Baschdi
Copy link

Baschdi commented Mar 28, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants