Package-level declarations

Types

Link copied to clipboard

Properties

Link copied to clipboard
val Context.imageLoader: ImageLoader

Functions

Link copied to clipboard
Link copied to clipboard
fun ImageLoader.Companion.createDefault(): ImageLoader
Link copied to clipboard
fun ImageLoader.Companion.createDefaultAndroid(context: Context): ImageLoader
Link copied to clipboard
fun ImageLoader.Companion.createDefaultIOS(): ImageLoader
Link copied to clipboard
fun InterceptorsBuilder.defaultImageResultMemoryCache(includeBitmap: Boolean = false, saveSize: Int = 100, valueHashProvider: (ImageResult) -> Int = { it.hashCode() }, valueSizeProvider: (ImageResult) -> Int = { 1 }, mapToMemoryValue: (ImageResult) -> ImageResult? = { when (it) { is ImageResult.OfImage, is ImageResult.OfPainter, -> it is ImageResult.OfBitmap -> if (includeBitmap) it else null is ImageResult.OfSource, is ImageResult.OfError, -> null } }, mapToImageResult: (ImageResult) -> ImageResult? = { it })
Link copied to clipboard
fun rememberImageAction(request: ImageRequest): State<ImageAction>
fun rememberImageAction(resId: Int, imageLoader: ImageLoader = LocalImageLoader.current): State<ImageAction>
fun rememberImageAction(url: String, imageLoader: ImageLoader = LocalImageLoader.current): State<ImageAction>
Link copied to clipboard
fun rememberImagePainter(request: ImageRequest, filterQuality: FilterQuality = DefaultFilterQuality, placeholderPainter: @Composable () -> Painter? = null, errorPainter: @Composable () -> Painter? = null): Painter
fun rememberImagePainter(resId: Int, imageLoader: ImageLoader = LocalImageLoader.current, filterQuality: FilterQuality = DefaultFilterQuality, placeholderPainter: @Composable () -> Painter? = null, errorPainter: @Composable () -> Painter? = null): Painter
fun rememberImagePainter(url: String, imageLoader: ImageLoader = LocalImageLoader.current, filterQuality: FilterQuality = DefaultFilterQuality, placeholderPainter: @Composable () -> Painter? = null, errorPainter: @Composable () -> Painter? = null): Painter