Created
October 2, 2022 12:22
-
-
Save Skyyo/e4c768df74005c7e4c54e6ac01908b17 to your computer and use it in GitHub Desktop.
perf_snippet_3
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
// not skippable if User is unstable | |
@Composable | |
private fun UserDetails(user: User) { | |
Text(text = "name: ${user.name} id:${user.id}") | |
} | |
// skippable even of User is unstable | |
@Composable | |
private fun UserDetails(id: Long, name: String) { | |
Text(text = "name: $name id: $id") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment