setSizeMultiplier

abstract 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.

If the current total size of the pool is larger than the max size after the given multiplier is applied, Bitmaps should be evicted until the pool is smaller than the new max size.

Parameters

sizeMultiplier

The size multiplier to apply between 0 and 1.