<Kotlin Jetpack Compose: Display ByteArray or File...
# stackoverflow
r
Kotlin Jetpack Compose: Display ByteArray or FileStream as Image in Android Heyho, I'm quiet new to Kotlin, but I came across this problem: I have a library function, that generates an image(QR-Code). Now I'd like to display that image... But I've no idea how. The documentation only explains how to save the image locally. But I'm not really interested in saving it. So I can either get the image as a FileStream or as a ByteArray. Any possibility to display any of these as an Image in the UI? An Example: @Composable fun QrCode(stand: String) { Text(text =...