memoryCache

fun memoryCache(memoryCache: MemoryCache): ImageLoader.Builder

Set the MemoryCache. This also sets the BitmapPool to the instance used by this MemoryCache.

This is useful for sharing MemoryCache and BitmapPool instances between ImageLoaders.

NOTE: Custom memory cache implementations are currently not supported.