I do not want the grid itself to scroll, but simply display a fixed grid of the Composable that I pass into it. Is there any workaround to displaying a non-scrolling grid inside a
В настоящее время в Jetpack Compose этот код выдает[code]IllegalStateException[/code] because you cannot nest two vertically scrolling Composables: [code]@ExperimentalFoundationApi @Composable fun MyLazyColumn() { LazyColumn { item { Text(text = "My LazyColumn Title") } item { LazyVerticalGrid(cells = GridCells.Fixed(4)) { items(10) { Box( modifier = Modifier .size(50.dp) .padding(5.dp) .background(Color.Gray) ) } } } } } [/code] I do not want the grid itself to scroll, but simply display a fixed grid of the Composable that I pass into it. Is there any workaround to displaying a non-scrolling grid inside a [code]LazyColumn[/code]?