Back to project page Android-Lib-AsyncImageLoader.
The source code is released under:
Apache License
If you think the Android project Android-Lib-AsyncImageLoader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package android.lib.asyncimageloader; //from w w w .j av a2 s . c o m import android.graphics.Bitmap; import android.widget.ImageView; /** * A callback when the loader completes a loading task. */ public interface OnImageLoadedListener { /** * Called when a {@link Bitmap} loads successfully. * @param imageView the {@link ImageView} to display the loaded {@link Bitmap}. * @param bitmap the loaded {@link Bitmap}. * @return the bitmap to be displayed. * <p>The original {@link Bitmap} could be returned, or a modified one.</p> */ Bitmap onImageLoaded(ImageView imageView, Bitmap bitmap); /** * Called when there was a error in the loading process. * @param imageView the {@link ImageView} supposed to display any loaded {@link Bitmap}s. * @param exception the @{link Exception} thrown during the loading process. */ void onError(ImageView imageView, Exception exception); }