obtain

open fun obtain(context: Context, bitmap: Bitmap): LazyBitmapDrawableResource
open fun obtain(    resources: Resources,     bitmapPool: BitmapPool,     bitmap: Bitmap): LazyBitmapDrawableResource

Deprecated

Use obtain instead, it can be unsafe to extract Bitmaps from their wrapped Resource.


open fun obtain(resources: Resources, bitmapResource: Resource<Bitmap>): Resource<BitmapDrawable>