Relative Content

Tag Archive for androidandroid-jetpack-composelazycolumn

Two LazyColumn on one screen with common scroll

I need to implement two LazyComuns on one screen, one below the other (by clicking on an element in the top list, it will go to the bottom and vice versa), and the screen should have 1 common scroll, and not nested in each of the LazyColumns. If I wrap two LazyColumns in Column with modifier = Modifier.verticalScroll(rememberScrollState()) – I get en error: