View compose-glide-blurred-load.kt
// Adapted from https://gist.github.com/lelandrichardson/de674fe6788d922fc84362fdae530464 | |
@Composable | |
fun ExampleUsage(){ | |
GlideImage(src = "source-path", | |
blurThumbSrc = "fast-to-load-small-thumbnail-path-for-blur effect" | |
){imageBitmap -> | |
if (imageBitmap != null) { | |
Image(bitmap = imageBitmap, | |
// modifier = ... |