Last active
September 5, 2022 06:42
-
-
Save meet30997/8b8773aed27257c1acfa52b193c1d863 to your computer and use it in GitHub Desktop.
DataStore Observe
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
viewModel.setUserName("Meet") | |
viewModel.getUsername.observe(this) { | |
binding.userName.text = it | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment