Fudge
07/16/2020, 12:15 PMLazyColumnItems
? I have no problem placing one above it, e.g.
Column {
Text("top")
LazyColumnItems(items = listOf("1","2","3")) {
Text(it)
}
}
But if I try to place it below the bottom
text doesn't appear.
Column {
LazyColumnItems(items = listOf("1","2","3")) {
Text(it)
}
Text("bottom")
}
(In my case I also want to attach bottom
to the bottom of the column so I would add fillMaxHeight().wrapContentHeight(Alignment.Bottom)
as well)matvei
07/16/2020, 12:26 PMLazyColumnItems
and LazyRowItems
are yet to support wrap content, now they always fillTimo Drick
07/16/2020, 12:52 PMColumn {
LazyColumnItems(modifier = Modifier.weight(1f), items = listOf("1","2","3")) {
Text(it)
}
Text("bottom")
}
Fudge
07/16/2020, 1:01 PMTimo Drick
07/16/2020, 1:05 PMFudge
07/16/2020, 1:05 PMTimo Drick
07/16/2020, 1:05 PMFudge
07/16/2020, 1:05 PMTimo Drick
07/16/2020, 1:07 PMFudge
07/16/2020, 1:11 PM