Created
October 2, 2022 13:22
-
-
Save Skyyo/4d48d336f6cf65e1e7d271465ea44a4d to your computer and use it in GitHub Desktop.
perf_snippet_7
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 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