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
Asked
Active
Viewed 1,951 times
3

nwagu
- 532
- 3
- 17
1 Answers
4
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"
)

Gabriele Mariotti
- 320,139
- 94
- 887
- 841
-
I use this solution and is currently giving me lagging effect on my LazyColumn. Any other idea? – Eddy Yoel Fresno Hernández Aug 14 '23 at 22:36