code: @SuppressLint("NewApi")
      private void buildAndAttach(){
          // Disable any pending transition on the activity since we are transforming it
          mActivity.overridePendingTransition(0, 0);
  
          // Setup window flags if Lollipop
          if(BuildUtils.isLollipop()) {
              Window window = mActivity.getWindow();
              window.addFlags(FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
              window.setStatusBarColor(Color.TRANSPARENT);
          }
  
          // attach layout and pane to UI
          hiJackDecor();
  
          // Setup
          setupDrawer();
  
          // Populate and Inflate
          populateNavDrawer();
  
      }
docs: Build the nav drawer layout, inflate it, then attach it to the
  activity