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

No image fade-in when loading from cache #147

Closed
frappes opened this issue Apr 14, 2015 · 4 comments
Closed

No image fade-in when loading from cache #147

frappes opened this issue Apr 14, 2015 · 4 comments

Comments

@frappes
Copy link

frappes commented Apr 14, 2015

When loading images in a RecyclerView they fade in nicely on initial load while scrolling down. When scrolling up and images are ostensibly being loaded from a cache, they do not fade in.

@tyronen
Copy link
Contributor

tyronen commented Apr 15, 2015

This is deliberate. An image in cache is usually one that has been on-screen recently. It's jarring to have it fade back in.

@tyronen tyronen closed this as completed Apr 15, 2015
@plamenko
Copy link
Contributor

When you say "they do not fade in", do you mean they appear immediately without a fade effect, or is there a period when the image is not loaded and then it just pops in?

@frappes
Copy link
Author

frappes commented Apr 17, 2015

@plamenko Problem was in my code - thanks for following up though!

@kanetik
Copy link

kanetik commented Jul 13, 2015

I know this was closed, but I'm hoping to tweak the behavior a little - if the failureImage is in cache, it doesn't fade when it goes from attempting to load to the failure image. Since this (by definition) happens after the load has failed, it is more jarring. So my request is that when loading a non-"Actual" image, that it would fade to the alternate image, even if it is in cache.

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

4 participants