Last active
December 16, 2019 17:25
-
-
Save BKinya/992833a6ab72feed4a45bed956d7c26f to your computer and use it in GitHub Desktop.
passing data between destinations using Bundle
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
//Passing data between destinations using Bundle | |
val bundle = Bundle() | |
bundle.putString("name", name) | |
findNavController().navigate(R.id.action_loginFragment_to_mainFragment, bundle) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment