Konwertuj ciąg na Bitmap Android Kotlin
try {
val imageBytes =Base64.decode(string,0)
val image=BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.size)
return image
} catch(Exception e) {
e.getMessage()
return null
}
android developer