public class RoundedBitmapDisplayer extends Object implements BitmapDisplayer
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RoundedBitmapDisplayer.RoundedDrawable |
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
cornerRadius |
protected int |
margin |
| 构造器和说明 |
|---|
RoundedBitmapDisplayer(int cornerRadiusPixels) |
RoundedBitmapDisplayer(int cornerRadiusPixels,
int marginPixels) |
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 在接口中 BitmapDisplayerbitmap - Source bitmapimageAware - Image aware view to
display BitmaploadedFrom - Source of loaded image