code: @Override
      public void onDrawerSlide(View drawerView, float slideOffset) {
          mSlider.setPosition(Math.min(1f, Math.max(0, slideOffset)));
      }
docs: {@link DrawerLayout.DrawerListener} callback method. If you do not use your
  JToggle instance directly as your DrawerLayout's listener, you should call
  through to this method from your own listener object.
  
  @param drawerView  The child view that was moved
  @param slideOffset The new offset of this drawer within its range, from 0-1