So, I've created a Chip composable and using it in a LazyRow like this:
LazyRow(
modifier = modifier,
horizontalArrangement = Arrangement.spacedBy(16.dp),
){
items.forEach { it ->
item {
CustomChip(
item = it,
isSelected = it == currentItem,
onItemChanged = {
onItemChanged(it)
}
)
}
}
}
But, I want to attain a layout like the above mentioned image. I.e, If number of chips reaches end of screen, then the new chips should come in new line.

