public static interface

AsyncImageView.OnImageViewLoadListener

greendroid.widget.AsyncImageView.OnImageViewLoadListener

Class Overview

Clients may listen to AsyncImageView changes using a AsyncImageView.OnImageViewLoadListener.

Summary

Public Methods
abstract void onLoadingEnded(AsyncImageView imageView, Bitmap image)
Called when the image ended to load that is when the image has been downloaded and is ready to be displayed on screen
abstract void onLoadingFailed(AsyncImageView imageView, Throwable throwable)
Called when the image loading failed
abstract void onLoadingStarted(AsyncImageView imageView)
Called when the image started to load

Public Methods

public abstract void onLoadingEnded (AsyncImageView imageView, Bitmap image)

Called when the image ended to load that is when the image has been downloaded and is ready to be displayed on screen

Parameters
imageView The AsyncImageView that ended loading

public abstract void onLoadingFailed (AsyncImageView imageView, Throwable throwable)

Called when the image loading failed

Parameters
imageView The AsyncImageView that failed to load

public abstract void onLoadingStarted (AsyncImageView imageView)

Called when the image started to load

Parameters
imageView The AsyncImageView that started loading