memoryCache

Set the MemoryCache.


fun memoryCache(initializer: () -> MemoryCache?): ImageLoader.Builder

Set a lazy callback to create the MemoryCache.

Prefer using this instead of memoryCache(MemoryCache).