LruBitmapPool

open fun LruBitmapPool(maxSize: Long)

Constructor for LruBitmapPool.

Parameters

maxSize

The initial maximum size of the pool in bytes.


open fun LruBitmapPool(maxSize: Long, allowedConfigs: Set<Config>)

Constructor for LruBitmapPool.

Parameters

maxSize

The initial maximum size of the pool in bytes.

allowedConfigs

A white listed put of android.graphics.Bitmap.Config that are allowed to be put into the pool. Configs not in the allowed put will be rejected.