Skip to content

Instantly share code, notes, and snippets.

@Skyyo
Created October 2, 2022 14:11
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 Skyyo/8aea46a9cb4db96115b34bab4ebe505c to your computer and use it in GitHub Desktop.
Save Skyyo/8aea46a9cb4db96115b34bab4ebe505c to your computer and use it in GitHub Desktop.
perf_snippet_11
@Composable
private fun WrappedLazyColumnApproach2(items: ImmutableList<Int>) {
LazyColumn {
items(items = items, key = { item -> item }) { item ->
Text(text = "item $item")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment