-
Notifications
You must be signed in to change notification settings - Fork 45
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
determining if image was loaded from cache #15
Comments
Hi @rjuzaszek, good question. I don't know the answer, unfortunately. The library uses the built-in Do you need to display a "loading..." spinner animation? |
Thanks for reply. |
Oh, I see now, thanks for clarification. So your goal is to show the image instantly if it's taken from cache or fade it in if it's downloaded from the network? |
Yes |
Interesting ... I can't think of any good solution at the moment. My first thought was to check the duration of time elapsed between assigning the URL and calling |
Hello, great work, really appreciate simplicity of this lib, but I found myself in a situation when I would like to determine if image was really downloaded or loaded from a cache - for example to show or not to show an animation, is there a simple way to determine that (maybe using duration field in MoaImage)?
desired example:
The text was updated successfully, but these errors were encountered: