trimMemory

abstract fun trimMemory(level: Int)

Reduces the size of the cache by evicting items based on the given level.

See also

android.content.ComponentCallbacks2

Parameters

level

The level from android.content.ComponentCallbacks2 to use to determine how many android.graphics.Bitmaps to evict.