Package-level declarations

Types

Link copied to clipboard
actual typealias Bitmap = android.graphics.Bitmap
expect class Bitmap
actual typealias Bitmap = org.jetbrains.skia.Bitmap
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect class Image
actual typealias Image = org.jetbrains.skia.Image
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val Context.imageLoader: <Error class: unknown class>

Functions

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
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
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
Link copied to clipboard
inline fun Drawable.toImage(): Image
Link copied to clipboard
expect fun Image.toPainter(): Painter
fun Bitmap.toPainter(filterQuality: FilterQuality = DefaultFilterQuality): Painter