Created
October 2, 2022 12:49
-
-
Save Skyyo/4434ef37cd53a79f494857a63a615823 to your computer and use it in GitHub Desktop.
perf_snippet_5
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 { | |
// button is not skippable due to usage of viewModel.onContinueClick() | |
Button(onClick = { viewModel.onContinueClick() }) { | |
Text(text = "button with unstable lambda") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment