public class BitmapDrawableTranscoder extends Object implements ResourceTranscoder<Bitmap,BitmapDrawable>
| Constructor and Description |
|---|
BitmapDrawableTranscoder(Context context) |
BitmapDrawableTranscoder(Resources resources,
BitmapPool bitmapPool) |
| Modifier and Type | Method and Description |
|---|---|
Resource<BitmapDrawable> |
transcode(Resource<Bitmap> toTranscode,
Options options)
Transcodes the given resource to the new resource type and returns the new resource.
|
public BitmapDrawableTranscoder(Context context)
public BitmapDrawableTranscoder(Resources resources, BitmapPool bitmapPool)
public Resource<BitmapDrawable> transcode(Resource<Bitmap> toTranscode, Options options)
ResourceTranscodertranscode in interface ResourceTranscoder<Bitmap,BitmapDrawable>toTranscode - The resource to transcode.