CacheStrategy

data class CacheStrategy(val image: Any, val cacheUsagePolicy: ImageCache.CacheUsagePolicy)

Information related to the image and the strategy to be used to cache the image.

Constructors

Link copied to clipboard
constructor(image: Any, cacheUsagePolicy: ImageCache.CacheUsagePolicy)

Properties

Link copied to clipboard

The ImageCache.CacheUsagePolicy instance that describes where to cache the image.

Link copied to clipboard
val image: Any

The type of image - BitmapInfo (Uncompressed) or ByteArray (Compressed).