addImage

abstract fun addImage(imageUrl: String, cacheStrategy: CacheStrategy): Boolean

Caches a Bitmap image that has been downloaded using the image url.

Return

Boolean.true if the image was cached successfully, Boolean.false otherwise.

Parameters

imageUrl

The image url used as a unique key to cache the image.

cacheStrategy

The CacheStrategy instance of the image.