Skip to content

Instantly share code, notes, and snippets.

@chenzhang2006
Last active August 12, 2022 16:17
Show Gist options
  • Save chenzhang2006/1187a5a75c4f8beab4b3495ba6522fa2 to your computer and use it in GitHub Desktop.
Save chenzhang2006/1187a5a75c4f8beab4b3495ba6522fa2 to your computer and use it in GitHub Desktop.
Compose State Skeleton
val listState = rememberLazyListState()
// Horizontal List
LazyRow(state = listState) { ... }
// Vertical List
LazyColumn(state = listState) { ... }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment