Relative Content

Tag Archive for androidandroid-jetpack-composecoil

AsyncImage inside Zoomable always filed at first time

I want to load images from the server. Once the images are loaded, I can zoom in and zoom out. The current code is working for some images, but it is not working for most of them end up with an error “BitmapFactory returned a null bitmap. Often this means BitmapFactory could not decode the image data read from the input source (e.g. network, disk, or memory) as it’s not encoded as a valid image format.”; as per the requirement, there is no fixed image dimension or memory limit. Can any one please help me to solve this?