com.nostra13.universalimageloader.core.display
Interface BitmapDisplayer

All Known Implementing Classes:
FadeInBitmapDisplayer, FakeBitmapDisplayer, RoundedBitmapDisplayer, SimpleBitmapDisplayer

public interface BitmapDisplayer

Displays Bitmap in ImageView. 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)

Method Summary
 android.graphics.Bitmap display(android.graphics.Bitmap bitmap, android.widget.ImageView imageView, LoadedFrom loadedFrom)
          Display bitmap in ImageView.
 

Method Detail

display

android.graphics.Bitmap display(android.graphics.Bitmap bitmap,
                                android.widget.ImageView imageView,
                                LoadedFrom loadedFrom)
Display bitmap in ImageView. 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
imageView - Image view to display Bitmap
loadedFrom - Source of loaded image
Returns:
Bitmap which was displayed in ImageView


Copyright © 2011-2013. All Rights Reserved.