Created
July 15, 2022 19:01
-
-
Save AlShevelev/82a0e4444d616c528f92f48769937235 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun ScrollableContent( | |
contentTopPadding: Dp, | |
modifier: Modifier = Modifier | |
) { | |
LazyColumn( | |
contentPadding = PaddingValues(top = contentTopPadding), | |
modifier = modifier | |
) { | |
items(100) { index -> | |
Text("I'm item $index", modifier = Modifier | |
.fillMaxWidth() | |
.padding(16.dp)) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment