ImageLruDiskCache

fun ImageLruDiskCache(    context: Context,     cacheFolder: String,     maxSizeBytes: Long = 10L * 1024 * 1024,     compressFormat: Bitmap.CompressFormat = CompressFormat.JPEG,     mCompressQuality: Int = 70)

Parameters

cacheFolder

name of the folder that will store the images of this cache. It will create a cache if none exists there.

maxSizeBytes

the maximum number of bytes this cache should use to store

compressFormat

the format to be used when compressing to store the image in cache.

mCompressQuality

the compress quality to be used when compressing to store the image in cache.