BitmapDrawableEncoder

open class BitmapDrawableEncoder : ResourceEncoder<T>

Encodes android.graphics.drawable.BitmapDrawables.

Constructors

Link copied to clipboard
open fun BitmapDrawableEncoder(bitmapPool: BitmapPool, encoder: ResourceEncoder<Bitmap>)

Functions

Link copied to clipboard
open fun encode(    data: Resource<BitmapDrawable>,     file: File,     options: Options): Boolean
Writes the given data to the given output stream and returns True if the write completed successfully and should be committed.
Link copied to clipboard
open fun getEncodeStrategy(options: Options): EncodeStrategy