LazyVeritcalGrid with multiple items in compose
I've LazyVerticalGrid with 2 items as bloew
LazyVerticalGrid(
columns = GridCells.Adaptive(150.dp),
verticalArrangement = Arrangement.spacedBy(8.dp),
horizontalArrangement = Arrangement.spacedBy(8.dp)
) {
item { header() }
items { content() }
}
Content is paging data and I'm showing empty view when no data is available. However, the issue is, if i use following code, fillMaxSize() will take max size of entire grid and centering the empty view will overlap the header....