lruCacheSingleton

val lruCacheSingleton: Capsule<Cache, Context>

A reusable Cache that uses the LeastRecentlyUsedCacheEvictor internally.

Usage:

val cache = ExoPlayerCache.lruCacheSingleton.get(context)