iamswapnilsonar / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Auto-reload of failed/fallback images on network re-connection. #151

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Application has attempted to load an image while in aeroplane mode.
2. Networking is re-established.

What is the expected output? What do you see instead?

Would like: images currently showing fallback or invisible/gone would try to 
load.

Observed: images don't even refresh if they're removed and added back to the 
screen, unless a different image is successfully loaded in the interim.

What version of the product are you using? On what operating system?

0.25.10

Please provide any additional information below.

My ideal would be:

1. Be able to register a callback with aquery, for when an image fails to load.
2. Be able to inform aquery to try re-loading all failed images.

Not that I need it, but it'd be nice if there were a sample implementation for 
folks who want this behaviour but don't already have network monitoring in 
their apps.

Original issue reported on code.google.com by tim...@gmail.com on 8 Aug 2013 at 1:45