ClearableSynchronizedPool

Like androidx.core.util.Pools.SynchronizedPool with the option to clear the pool (e.g. on memory pressure).

Constructors

Link copied to clipboard
constructor(maxSize: Int)

Functions

Link copied to clipboard
open override fun acquire(): T?
Link copied to clipboard
Link copied to clipboard
open override fun release(instance: T): Boolean