Skip to content

Instantly share code, notes, and snippets.

@5AbhishekSaxena
Created December 27, 2022 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 5AbhishekSaxena/58f8cf3d2d32d33d53047682b82d1eda to your computer and use it in GitHub Desktop.
Save 5AbhishekSaxena/58f8cf3d2d32d33d53047682b82d1eda to your computer and use it in GitHub Desktop.
@Composable
fun StudentListContent(
students: List<Student>
) {
LazyColumn(
modifier = Modifier.fillMaxSize(),
contentPadding = PaddingValues(16.dp),
verticalArrangement = Arrangement.spacedBy(8.dp)
) {
items(students) { student ->
StudentListItem(student = student)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment