-
-
Save skydoves/416fca5e1ab8e18350e9026913479e42 to your computer and use it in GitHub Desktop.
state_holding_call_site
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
setContent { | |
val viewModel = ViewModel() | |
Column { | |
Text("This is a cool column I have") | |
CustomButton(stateHoldingClass = viewModel.stateHoldingClass) { | |
viewModel.stateHoldingClass.counter++ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment