Hello! I am using coil version 1.4.0 and I am gett...
# compose-android
a
Hello! I am using coil version 1.4.0 and I am getting
IllegalStateException: BitmapFactory returned a null bitmap
when using
rememberImagePainter(imageUrl)
on emulators. I added a listener to it to see the error and the url is in this format: https://example.com/icon.png?fm=avif. Any suggestions of what I can try to make this work?
Copy code
rememberImagePainter(
    contentImageUrl,
    builder = {
        crossfade(true)
        listener(
            onError = { request: ImageRequest, throwable: Throwable ->
                println("request $request throwable $throwable")
            },
        )
    },
)
j