Skip to content

Instantly share code, notes, and snippets.

@Skyyo
Created October 2, 2022 13:22
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/4d48d336f6cf65e1e7d271465ea44a4d to your computer and use it in GitHub Desktop.
Save Skyyo/4d48d336f6cf65e1e7d271465ea44a4d to your computer and use it in GitHub Desktop.
perf_snippet_7
@Composable
fun UnstableLambdaScreen(viewModel: TypicalViewModel = hiltViewModel()) {
Column {
// stable
Button(onClick = viewModel::onContinueClick) {
Text(text = "button with stable lambda")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment