Primož Pesjak
08/29/2023, 10:18 AMephemient
08/29/2023, 10:33 AMPrimož Pesjak
08/29/2023, 10:37 AMephemient
08/29/2023, 10:38 AMPrimož Pesjak
08/29/2023, 10:41 AMephemient
08/29/2023, 10:41 AMPrimož Pesjak
08/29/2023, 10:43 AMLazyColumn{
item{//inputs}
item{//CARD, this should contain the list of items}
items(list){//element of an item}
}
ephemient
08/29/2023, 10:44 AMif (expand) items(list) { ... }
ephemient
08/29/2023, 10:44 AMPrimož Pesjak
08/29/2023, 10:45 AMLazyColumn{
item{//inputs}
item{//CARD, this should contain the list of items} // THIS ONE
}
ephemient
08/29/2023, 10:46 AMitem { Card() }
you need to expand itPrimož Pesjak
08/29/2023, 10:47 AMephemient
08/29/2023, 10:47 AM@Composable fun Card() {
LazyColumn { contents() }
}
then lift contents()
into the outer lazy columnephemient
08/29/2023, 10:48 AMOleksandr Balan
08/29/2023, 10:49 AMyou need to individually handle the background of each item to make it appear as one cardIt is a bit tricky with shadows 😅 Tried this here: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1679393034780109?thread_ts=1679294257.066489&cid=CJLTWPH7S
ephemient
08/29/2023, 10:49 AMephemient
08/29/2023, 10:50 AMPrimož Pesjak
08/29/2023, 10:51 AMPrimož Pesjak
08/29/2023, 10:51 AMephemient
08/29/2023, 10:51 AMPrimož Pesjak
08/29/2023, 10:52 AMPrimož Pesjak
08/29/2023, 10:52 AMPrimož Pesjak
08/29/2023, 10:52 AM