public class RoundedBitmapDisplayer extends Object implements BitmapDisplayer
| Modifier and Type | Class and Description |
|---|---|
static class |
RoundedBitmapDisplayer.RoundedDrawable |
| Modifier and Type | Field and Description |
|---|---|
protected int |
cornerRadius |
protected int |
margin |
| Constructor and Description |
|---|
RoundedBitmapDisplayer(int cornerRadiusPixels) |
RoundedBitmapDisplayer(int cornerRadiusPixels,
int marginPixels) |
| Modifier and Type | Method and Description |
|---|---|
void |
display(android.graphics.Bitmap bitmap,
ImageAware imageAware,
LoadedFrom loadedFrom)
Displays bitmap in
ImageAware. |
public RoundedBitmapDisplayer(int cornerRadiusPixels)
public RoundedBitmapDisplayer(int cornerRadiusPixels,
int marginPixels)
public void display(android.graphics.Bitmap bitmap,
ImageAware imageAware,
LoadedFrom loadedFrom)
BitmapDisplayerImageAware.
NOTE: This method is called on UI thread so it's strongly recommended not to do any heavy work in it.display in interface BitmapDisplayerbitmap - Source bitmapimageAware - Image aware view to
display BitmaploadedFrom - Source of loaded imageCopyright © 2011-2015. All Rights Reserved.