SHARE
TWEET

Untitled

a guest May 19th, 2017 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     @Override
  2.     public void launchAccueil(){
  3.         Fragment newFragment = new Accueil();
  4.         FragmentManager fragmentManager = getActivity().getSupportFragmentManager();
  5.         FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
  6.         fragmentTransaction.replace(R.id.content_main, newFragment);
  7.         fragmentTransaction.addToBackStack(null);
  8.         fragmentTransaction.commit();
  9.     }
RAW Paste Data
Top