Program: 62574
Project: 62574
Buggy source:
@Override protected void initEventAndData(){
  initToolbar();
  initData();
  initNavigationView();
  BottomNavigationViewHelper.disableShiftMode(bottomNavigationBar);
  bottomNavigationBar.setOnNavigationItemSelectedListener(item -> {
switch (item.getItemId()) {
case R.id.tab_main_pager:
      mTitleTv.setText(getString(R.string.home_pager));
    switchFragment(0);
  mMainPagerFragment.reLoad();
mDataManager.setCurrentPage(Constants.FIRST);
break;
case R.id.tab_knowledge_hierarchy:
mTitleTv.setText(getString(R.string.knowledge_hierarchy));
switchFragment(1);
mKnowledgeHierarchyFragment.reLoad();
mDataManager.setCurrentPage(Constants.SECOND);
break;
case R.id.tab_navigation:
mTitleTv.setText(getString(R.string.navigation));
switchFragment(2);
mNavigationFragment.reLoad();
mDataManager.setCurrentPage(Constants.THIRD);
break;
case R.id.tab_project:
mTitleTv.setText(getString(R.string.project));
switchFragment(3);
mProjectFragment.reLoad();
mDataManager.setCurrentPage(Constants.FOURTH);
break;
default :
break;
}
return true;
}
);
ActionBarDrawerToggle toggle=new ActionBarDrawerToggle(this,mDrawerLayout,mToolbar,R.string.navigation_drawer_open,R.string.navigation_drawer_close){
@Override public void onDrawerSlide(View drawerView,float slideOffset){
View mContent=mDrawerLayout.getChildAt(0);
float scale=1 - slideOffset;
float endScale=0.8f + scale * 0.2f;
float startScale=1 - 0.3f * scale;
drawerView.setScaleX(startScale);
drawerView.setScaleY(startScale);
drawerView.setAlpha(0.6f + 0.4f * (1 - scale));
mContent.setTranslationX(drawerView.getMeasuredWidth() * (1 - scale));
mContent.invalidate();
mContent.setScaleX(endScale);
mContent.setScaleY(endScale);
}
}
;
toggle.syncState();
mDrawerLayout.addDrawerListener(toggle);
}

Fixed version (ground truth):
@Override protected void initEventAndData(){
  initToolbar();
  initData();
  initNavigationView();
  BottomNavigationViewHelper.disableShiftMode(bottomNavigationBar);
  mDataManager.setCurrentPage(Constants.FIRST);
  bottomNavigationBar.setOnNavigationItemSelectedListener(item -> {
switch (item.getItemId()) {
case R.id.tab_main_pager:
      mTitleTv.setText(getString(R.string.home_pager));
    switchFragment(0);
  mMainPagerFragment.reLoad();
mDataManager.setCurrentPage(Constants.FIRST);
break;
case R.id.tab_knowledge_hierarchy:
mTitleTv.setText(getString(R.string.knowledge_hierarchy));
switchFragment(1);
mKnowledgeHierarchyFragment.reLoad();
mDataManager.setCurrentPage(Constants.SECOND);
break;
case R.id.tab_navigation:
mTitleTv.setText(getString(R.string.navigation));
switchFragment(2);
mNavigationFragment.reLoad();
mDataManager.setCurrentPage(Constants.THIRD);
break;
case R.id.tab_project:
mTitleTv.setText(getString(R.string.project));
switchFragment(3);
mProjectFragment.reLoad();
mDataManager.setCurrentPage(Constants.FOURTH);
break;
default :
break;
}
return true;
}
);
ActionBarDrawerToggle toggle=new ActionBarDrawerToggle(this,mDrawerLayout,mToolbar,R.string.navigation_drawer_open,R.string.navigation_drawer_close){
@Override public void onDrawerSlide(View drawerView,float slideOffset){
View mContent=mDrawerLayout.getChildAt(0);
float scale=1 - slideOffset;
float endScale=0.8f + scale * 0.2f;
float startScale=1 - 0.3f * scale;
drawerView.setScaleX(startScale);
drawerView.setScaleY(startScale);
drawerView.setAlpha(0.6f + 0.4f * (1 - scale));
mContent.setTranslationX(drawerView.getMeasuredWidth() * (1 - scale));
mContent.invalidate();
mContent.setScaleX(endScale);
mContent.setScaleY(endScale);
}
}
;
toggle.syncState();
mDrawerLayout.addDrawerListener(toggle);
}