Rupesh Sasne
04/24/2024, 10:57 AM- LazyColumn
---- Card 1
-------- LazyColumn
------------ a1
------------ a2
------------ a3
------------ .
------------ .
------------ an
---- Card 2
-------- LazyColumn
------------ b1
------------ b2
------------ .
------------ .
------------ bm
and so on...
but I believe the above approach is not performance efficient as it has nested lazycolumns...
Another approach would be something like by flattening the items
- LazyColumn
---- Card 1 Header
---- a1
---- a2
---- .
---- .
---- an
---- Card 1 Footer
---- spacer
and so on...
ephemient
04/24/2024, 11:16 AMagrosner
04/24/2024, 11:20 AMagrosner
04/24/2024, 11:21 AMRupesh Sasne
04/24/2024, 11:26 AMRupesh Sasne
04/24/2024, 11:28 AMStylianos Gakis
04/24/2024, 11:31 AMRupesh Sasne
04/24/2024, 11:33 AMagrosner
04/24/2024, 11:45 AMRupesh Sasne
04/24/2024, 5:19 PM@Composable
fun FakeCardBottom(modifier: Modifier = Modifier) {
val shape = RoundedCornerShape(bottomStart = 16.dp, bottomEnd = 16.dp)
Box(
modifier = modifier
.shadow(4.dp, shape)
.clip(shape)
.background(Color.White)
.fillMaxWidth()
.height(16.dp)
)
}
could you point me to the correct API?