Package-level declarations

Types

Link copied to clipboard
data class BitmapInfo(val bitmap: Bitmap, val compressFormat: Bitmap.CompressFormat = Bitmap.CompressFormat.JPEG, val quality: Int = DEFAULT_IMAGE_QUALITY)

Information related to a particular uncompressed image.

Link copied to clipboard
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.

Link copied to clipboard
data class DefaultConfig(val vmMemoryUsage: Int? = DEFAULT_VM_MEMORY_USAGE_FACTOR, val diskSpaceUsage: Int? = DEFAULT_DISK_SPACE_USAGE_FACTOR) : ImageCache.Config
Link copied to clipboard
interface ImageCache

The device's cache for storing Bitmap images.

Link copied to clipboard
data class ImageRetrieveInfo(val imageUrl: String, val imageType: ImageCache.ImageType, val cacheUsagePolicy: ImageCache.CacheUsagePolicy)

Information required to retrieve an image from ImageCache.

Properties

Link copied to clipboard
Link copied to clipboard
const val DEFAULT_IMAGE_QUALITY: Int = 100
Link copied to clipboard