from
fun <K, V> MemoryCacheManagerBuilder.Companion.from(context: Context, snapshotPersistentCache: SnapshotPersistentCache<List<CacheEntry<K, V>>>? = null): MemoryCacheManagerBuilder<K, V>
Creates a MemoryCacheManagerBuilder that uses AndroidMemoryLevelNotifier to trim the cache when low memory events are received.
See also
fun <T> SnapshotFileCacheBuilder.Companion.from(context: Context, filename: String, cacheSerializer: CacheSerializer<T>): SnapshotFileCacheBuilder<T>
Convenience function to create a SnapshotFileCacheBuilder in the application's cache directory. This will create the cache file at {Context.getCacheDir}/com.kroger.cache/{filename}