I could convert the base64 string to android.graphics.Bitmap
but from all I can find online, I still need coil or glide to display it
If you have a Bitmap
you can use the .asImageBitmap()
extension to get a Compose ImageBitmap
object.
Then use it in an Image
composable.
Image(
bitmap = bitmap.asImageBitmap(),
contentDescription = "contentDescription"
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With