Created
December 10, 2017 13:42
-
-
Save FireZenk/9113f4f20bc06b18294e4dc7291a32fc to your computer and use it in GitHub Desktop.
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
MyFragment fragment = MyFragment.newInstance(index); | |
FragmentTransaction ft = getFragmentManager().beginTransaction(); | |
ft.replace(R.id.parent, fragment); | |
ft.commit(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment