Skip to content

Instantly share code, notes, and snippets.

@cthulhuplush
Created January 13, 2017 10:27
Show Gist options
  • Save cthulhuplush/68fe38987fb83622d55e0380e32ceab8 to your computer and use it in GitHub Desktop.
Save cthulhuplush/68fe38987fb83622d55e0380e32ceab8 to your computer and use it in GitHub Desktop.
private void loadInitialFragment()
{
F fragment = (F) SimpleFragment.newInstance(R.layout.fragment_logo_center);
FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction();
fragmentTransaction.replace(R.id.fragment_container, fragment);
fragmentTransaction.commit();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment