Slackbot
09/08/2021, 11:07 PMadjpd
09/08/2021, 11:13 PMSam Marz
09/08/2021, 11:27 PMAlbert Chang
09/09/2021, 12:06 AMLazyColumn() {
collection.forEach { item ->
item {
Text(text = item.title)
}
// Assuming 3 items per row
items(item.products.size / 3) { i ->
Row {
for (j in 0 until 3) {
Button_Square_Selection1(item.products[i * 3 + j], modifier = Modifier.weight(1f))
}
}
}
}
}
Sam Marz
09/09/2021, 5:00 PM