BitmapPoolAdapter

open class BitmapPoolAdapter : BitmapPool

An BitmapPool implementation that rejects all Bitmaps added to it and always returns null from get.

Functions

Link copied to clipboard
open fun clearMemory()
Removes all android.graphics.
Link copied to clipboard
open fun get(    width: Int,     height: Int,     config: Config): Bitmap
Returns a android.graphics.
Link copied to clipboard
open fun getDirty(    width: Int,     height: Int,     config: Config): Bitmap
Identical to get except that any returned android.graphics.
Link copied to clipboard
open fun getMaxSize(): Long
Returns the current maximum size of the pool in bytes.
Link copied to clipboard
open fun put(bitmap: Bitmap)
Adds the given android.graphics.
Link copied to clipboard
open fun setSizeMultiplier(sizeMultiplier: Float)
Multiplies the initial size of the pool by the given multiplier to dynamically and synchronously allow users to adjust the size of the pool.
Link copied to clipboard
open fun trimMemory(level: Int)
Reduces the size of the cache by evicting items based on the given level.