com.nostra13.universalimageloader.core.display
Interface BitmapDisplayer

All Known Implementing Classes:
FadeInBitmapDisplayer, RoundedBitmapDisplayer, SimpleBitmapDisplayer

public interface BitmapDisplayer

Displays Bitmap in ImageAware. Implementations can apply some changes to Bitmap or any animation for displaying Bitmap.
Implementations have to be thread-safe.

Since:
1.5.6
Author:
Sergey Tarasevich (nostra13[at]gmail[dot]com)
See Also:
ImageAware, LoadedFrom

Method Summary
 android.graphics.Bitmap display(android.graphics.Bitmap bitmap, ImageAware imageAware, LoadedFrom loadedFrom)
          Display bitmap in ImageAware.
 

Method Detail

display

android.graphics.Bitmap display(android.graphics.Bitmap bitmap,
                                ImageAware imageAware,
                                LoadedFrom loadedFrom)
Display bitmap in ImageAware. Displayed bitmap should be returned.
NOTE: This method is called on UI thread so it's strongly recommended not to do any heavy work in it.

Parameters:
bitmap - Source bitmap
imageAware - Image aware view to display Bitmap
loadedFrom - Source of loaded image
Returns:
Bitmap which was displayed in ImageAware


Copyright © 2011-2013. All Rights Reserved.