Bitmap Pool
interface BitmapPool
Content copied to clipboard
An object pool that enables callers to reuse Bitmap objects.
Types
Functions
getDirtyOrNull
Link copied to clipboard
abstract fun getDirtyOrNull(@Px() width: Int, @Px() height: Int, config: Bitmap.Config): Bitmap?
Content copied to clipboard
Identical to getDirty except that null will be returned if the pool does not contain a usable bitmap.
trimMemory
Link copied to clipboard