Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ImageLoaderConfig
Link copied to clipboard
class ImageLoaderConfigBuilder
Link copied to clipboard
interface ImageLoaderFactory
Link copied to clipboard
actual class ImageLoaderProvidableCompositionLocal(val delegate: ProvidableCompositionLocal<ImageLoader>)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <Error class: unknown class>.createDefaultAndroid(context: Context): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
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 ImageLoader(requestCoroutineContext: CoroutineContext = ioDispatcher, block: ImageLoaderConfigBuilder.() -> Unit): ImageLoader
Link copied to clipboard
Link copied to clipboard
fun rememberImageAction(request: ImageRequest, imageLoader: ImageLoader = LocalImageLoader.current): 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 rememberImageActionPainter(action: ImageAction, filterQuality: FilterQuality = DefaultFilterQuality, placeholderPainter: @Composable () -> Painter? = null, errorPainter: @Composable () -> Painter? = null): Painter
Link copied to clipboard
fun rememberImagePainter(request: ImageRequest, imageLoader: ImageLoader = LocalImageLoader.current, filterQuality: FilterQuality = DrawScope.DefaultFilterQuality, placeholderPainter: @Composable () -> Painter? = null, errorPainter: @Composable () -> Painter? = null): Painter
fun rememberImagePainter(resId: Int, imageLoader: ImageLoader = LocalImageLoader.current, filterQuality: FilterQuality = DrawScope.DefaultFilterQuality, placeholderPainter: @Composable () -> Painter? = null, errorPainter: @Composable () -> Painter? = null): Painter
fun rememberImagePainter(url: String, imageLoader: ImageLoader = LocalImageLoader.current, filterQuality: FilterQuality = DrawScope.DefaultFilterQuality, placeholderPainter: @Composable () -> Painter? = null, errorPainter: @Composable () -> Painter? = null): Painter
Link copied to clipboard
fun rememberImageResultPainter(result: ImageResult, filterQuality: FilterQuality = DefaultFilterQuality, errorPainter: @Composable () -> Painter? = null): Painter
Link copied to clipboard
fun rememberImageSuccessPainter(action: ImageAction.Success, filterQuality: FilterQuality = DefaultFilterQuality): Painter