Created
May 11, 2019 19:45
-
-
Save PHELAT/066df9ad3a4d53268c34fa0a4ebf1b38 to your computer and use it in GitHub Desktop.
navigateUp with 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
class MainActivity : FragmentResultActivity() { | |
// You can use updateNavHostFragmentId function to update | |
// nav host fragment's id at runtime. | |
override fun getNavHostFragmentId(): Int = R.id.nav_host_fragment | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment