compose-imageloader
compose-imageloader copied to clipboard
Inability to use library due to lacking documentation
The documentation doesn't show how to set an image. I've tried ChatGTP solutions and other solutions like below (which has worked finally) but it does work when given a URL to the image, only works when the below type of data is given.Hence it would be useful if doc showed how to create an Image using this library.
CompositionLocalProvider{
val url = "data:image/jpeg;base64,/9j/4"
val painter = rememberAsyncImagePainter(url)
Image(painter, null)
}