compose-imageloader icon indicating copy to clipboard operation
compose-imageloader copied to clipboard

Inability to use library due to lacking documentation

Open Deaths-Door opened this issue 1 year ago • 0 comments

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)
        }

Deaths-Door avatar Apr 07 '23 12:04 Deaths-Door