I’m trying to use an `Image` composable with `reme...
# compose
j
I’m trying to use an
Image
composable with
rememberCoilPainter
nested under a
LazyColumn
but it seems to not be working, the image is not loading. If I take the composable out of the
LazyColumn
then it works fine. Any idea what’s going on?
a
do you specify any height on the Image? could you try to set some fixed height? cc @cb
c
This sounds the same as https://github.com/android/compose-samples/pull/478. Setting an
aspectRatio()
,
height()
or even a
minHeight
is the right solution for now. I'm just about to release Accompanist 0.8.1 which includes a workaround (https://github.com/google/accompanist/pull/354)
j
Thanks! I’ll try it as soon as I can and report back 🙂
i
c
Hmm, the release didn’t go through. Just started it again
Yep, looks like it worked this time. Should be available in ~5 mins
j
It worked!
👍 1