daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Override
  2. public boolean onNavigationItemSelected(MenuItem menuItem) {
  3.  
  4.     Logger.d(TAG, "onNavigationItemSelected");
  5.     mDrawerLayout.closeDrawer(GravityCompat.START);
  6.  
  7.     switch (menuItem.getItemId()) {
  8.         case R.id.nav_item_profile:
  9.             replaceFragment(new ProfileFragment(), true);
  10.             break;
  11.     }
  12.     return false;
  13. }
  14.    
  15. drawerLayout.closeDrawers();
  16. openSelectedScreen(navItem);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top