Hi, I'm trying to make a dashboard like in the att...
# compose
k
Hi, I'm trying to make a dashboard like in the attached image. Nothing really needs to be scrollable aside from the main display. However, I keep getting this error:
Nesting scrollable in the same direction layouts like LazyColumn and Column(Modifier.verticalScroll()) is not allowed. If you want to add a header before the list of items please take a look on LazyColumn component which has a DSL api which allows to first add a header via item() function and then the list of items via items()
Anyone have an idea for how I can add the grid pressure display inside a column of rows that arranges the displays?
r
k
What does this package do? There isn't much information in the docs
l
Show us your compose code, you probably a LazyColumn and them a Column with verticalScroll() like the error says
k
Yep, once I removed the LazyVerticalGrid and replaced it with a Column of Rows it was fine