public class BitmapDrawableEncoder extends Object implements ResourceEncoder<BitmapDrawable>
BitmapDrawables.| Constructor and Description | 
|---|
| BitmapDrawableEncoder(BitmapPool bitmapPool,
                     ResourceEncoder<Bitmap> encoder) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | encode(Resource<BitmapDrawable> data,
      File file,
      Options options)Writes the given data to the given output stream and returns True if the write completed
 successfully and should be committed. | 
| EncodeStrategy | getEncodeStrategy(Options options) | 
public BitmapDrawableEncoder(BitmapPool bitmapPool, ResourceEncoder<Bitmap> encoder)
public boolean encode(Resource<BitmapDrawable> data, File file, Options options)
Encoderencode in interface Encoder<Resource<BitmapDrawable>>data - The data to write.file - The File to write the data to.options - The put of options to apply when encoding.public EncodeStrategy getEncodeStrategy(Options options)
getEncodeStrategy in interface ResourceEncoder<BitmapDrawable>