Skip to content

Instantly share code, notes, and snippets.

@BKinya
Last active December 16, 2019 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BKinya/992833a6ab72feed4a45bed956d7c26f to your computer and use it in GitHub Desktop.
Save BKinya/992833a6ab72feed4a45bed956d7c26f to your computer and use it in GitHub Desktop.
passing data between destinations using Bundle
//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