Anuta Vlad Sv
05/03/2023, 3:21 PMIllegalStateException: 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?Anuta Vlad Sv
05/03/2023, 3:21 PMrememberImagePainter(
contentImageUrl,
builder = {
crossfade(true)
listener(
onError = { request: ImageRequest, throwable: Throwable ->
println("request $request throwable $throwable")
},
)
},
)
jw
05/03/2023, 3:23 PM