loopj / android-smart-image-view

Android ImageView replacement which allows image loading from URLs or contact address book, with caching
http://loopj.com/android-smart-image-view/
1.29k stars 510 forks source link

Request: A way to run code when downloading from url is finished #5

Open JWvanV opened 12 years ago

JWvanV commented 12 years ago

Use case:

I have a picture that should load an image from an url. When the picture is clicked, it should allow the user to pick another image (from camera/gallery)

Initialy the image comes from an url, so it has to load for a second on start. I only want to make the image clickable after the image is loaded from the url, so thats where the feature comes in.

perhaps you can pass a runnable? f.e. image.setAfterImageIsSet(New Runnable(){ //Code here// }).

I dont know if this excample might even work, but its just a suggestion :p