code: private void updateFab(int selectedPage) {
  		switch (selectedPage) {
  		case MainPagerAdapter.ALL_POS:
  			materialSheetFab.showFab();
  			break;
  		case MainPagerAdapter.SHARED_POS:
  			materialSheetFab.showFab(0,
  					-getResources().getDimensionPixelSize(R.dimen.snackbar_height));
  			break;
  		case MainPagerAdapter.FAVORITES_POS:
  		default:
  			materialSheetFab.hideSheetThenFab();
  			break;
  		}
  	}
docs: Updates the FAB based on the selected page
  
  @param selectedPage selected page