Gumiku
02/22/2023, 10:17 AMnested scroll lazyColumn
in compose? want to do things like this
when I scroll the nested lazy column it got a lot of issues...
seems nested lazy column is not recommended but how can I do it with just one lazy column here for ComposableSubC
LazyColumn() {
items(items){
MapItem()
}
}
@Composable
fun MapItem(item){
when(item){
itemA->{
ComposableA()
}
itemB->{
ComposableB()
}
itemC->{
ComposableC()
}
}
}
ComposableC() {
ComposableSubC()
LazyColumn(){
items{
ComposableItem()
}
}
}
Gulshan Patidar
02/22/2023, 11:04 AMKirill Grouchnikov
02/22/2023, 12:21 PM