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

rattleshirt

10/20/2021, 3:01 PM
Hi, is it possible for
LazyRow
items (with content image / title / max 3 lines) to fill to the height of the
LazyRow
?
fillParentMaxHeight
doesn’t seem to work
c

cb

10/20/2021, 4:06 PM
Doesn't work in what way? Got an example?
r

rattleshirt

10/22/2021, 7:37 AM
Sorry for the late reply. My colleague is working on an example/gist. Will post it here shortly
For now we added newlines when there are missing lines, but this is the example:
This is the related code. We don’t define any height but rely on it wrapping content. LazyRow’s nature is of course that not all items are drawn yet
3 Views