<Jetpack Compose: How to center an item in LazyVer...
# stackoverflow
u
Jetpack Compose: How to center an item in LazyVerticalGrid? I have a LazyVerticalGrid composable that shows my items. I want to show an error message with a button in the center of LazyVerticalGrid when an error has occured. Here is my error item and my LazyVerticalGrid: ErrorItem @Composable fun ErrorItem( message: String, modifier: Modifier = Modifier, onRetryClick: () -> Unit, ) { Column( modifier = modifier .padding(dimensionResource(id = R.dimen.dimen_8)), horizontalAlignment =...