com.nostra13.universalimageloader.core.assist
Class SimpleImageLoadingListener

java.lang.Object
  extended by com.nostra13.universalimageloader.core.assist.SimpleImageLoadingListener
All Implemented Interfaces:
ImageLoadingListener

public class SimpleImageLoadingListener
extends java.lang.Object
implements ImageLoadingListener

A convenience class to extend when you only want to listen for a subset of all the image loading events. This implements all methods in the ImageLoadingListener but does nothing.

Author:
Sergey Tarasevich (nostra13[at]gmail[dot]com)

Constructor Summary
SimpleImageLoadingListener()
           
 
Method Summary
 void onLoadingCancelled()
          Is called when image loading task was cancelled because ImageView was reused in newer task
 void onLoadingComplete(android.graphics.Bitmap loadedImage)
          Is called when image is loaded successfully and displayed in ImageView
 void onLoadingFailed(FailReason failReason)
          Is called when an error was occurred during image loading
 void onLoadingStarted()
          Is called when image loading task was started
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleImageLoadingListener

public SimpleImageLoadingListener()
Method Detail

onLoadingStarted

public void onLoadingStarted()
Description copied from interface: ImageLoadingListener
Is called when image loading task was started

Specified by:
onLoadingStarted in interface ImageLoadingListener

onLoadingFailed

public void onLoadingFailed(FailReason failReason)
Description copied from interface: ImageLoadingListener
Is called when an error was occurred during image loading

Specified by:
onLoadingFailed in interface ImageLoadingListener

onLoadingComplete

public void onLoadingComplete(android.graphics.Bitmap loadedImage)
Description copied from interface: ImageLoadingListener
Is called when image is loaded successfully and displayed in ImageView

Specified by:
onLoadingComplete in interface ImageLoadingListener

onLoadingCancelled

public void onLoadingCancelled()
Description copied from interface: ImageLoadingListener
Is called when image loading task was cancelled because ImageView was reused in newer task

Specified by:
onLoadingCancelled in interface ImageLoadingListener


Copyright © 2011-2013. All Rights Reserved.