Skip to content

Instantly share code, notes, and snippets.

@fnk0
Created July 18, 2014 16:34
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 fnk0/566d05b23cd86f43bd7a to your computer and use it in GitHub Desktop.
Save fnk0/566d05b23cd86f43bd7a to your computer and use it in GitHub Desktop.
FragmentManager fragmentManager = getFragmentManager();
fragmentManager.beginTransaction().replace(R.id.frame_container, new MyFragment()).commit();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment