@Override
  public void onDrawerSlide(View view, float slideOffset) {
    for (ITransition trans : mTransitionList.values()) {
      trans.updateProgress(slideOffset);
    }

    if (view == null) {
      return;
    }
    mDrawerToggle.onDrawerSlide(view, slideOffset);

    if (mDrawerListener != null) {
      mDrawerListener.onDrawerSlide(view, slideOffset);
    }
  }
 @Override
 public void onDrawerSlide(View drawerView, float slideOffset) {
   if (mDrawerToggle != null) mDrawerToggle.onDrawerSlide(drawerView, slideOffset);
 }