-
-
Save skydoves/91819fd59697b92876af6100f9233e28 to your computer and use it in GitHub Desktop.
replace_fragment_example
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
supportFragmentManager.commit { | |
setReorderingAllowed(true) | |
// Replace whatever is in the fragment_container_view with this fragment | |
replace<MyFragment>(R.id.fragment_container_view) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment