https://kotlinlang.org logo
#compose
Title
# compose
r

Rob

12/09/2021, 7:15 PM
The intrinsic size of images loaded from a file is null which is causing a Image to have a height of 0. Is there a way to have the height of an
Image
match the aspect ratio of the image loaded?
I see what's happening. If the height starts at zero the image is never loaded which never sets the intrinsic size 🤦
This fixed it.
5 Views