show(); if (frag != null) { FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); transaction.replace(R.id.frame, frag); // replace a Fragment with Frame Layout transaction.commit(); // commit the changes dLayout.closeDrawers(); // close the all open Drawer ...
();if(frag!=null){FragmentTransactiontransaction=getSupportFragmentManager().beginTransaction();transaction.replace(R.id.frame,frag);// replace a Fragment with Frame Layouttransaction.commit();// commit the changesdLayout.closeDrawers();// close the all open Drawer Viewsreturntrue;}returnfalse;...