public void hideSheetThenFab() {
		AnimationListener listener = new AnimationListener() {
			@Override
			public void onEnd() {
				fab.hide();
			}
		};
		// Hide sheet then hide FAB
		if (isSheetVisible()) {
			hideSheet(listener);
		}
		// Hide FAB
		else {
			listener.onEnd();
		}
	}
public void hideSheetThenFab() {
		AnimationListener listener = new AnimationListener() {
			@Override
			public void onEnd() {
				fab.hide();
			}
		};
		
		if (isSheetVisible()) {
			hideSheet(listener);
		}
		
		else {
			listener.onEnd();
		}
	}
public void hideSheetThenFab ( ) { AnimationListener listener = new AnimationListener ( ) { @ Override public void onEnd ( ) { fab . hide ( ) ; } } ; // Hide sheet then hide FAB if ( isSheetVisible ( ) ) { hideSheet ( listener ) ; } // Hide FAB else { listener . onEnd ( ) ; } }
Hides the sheet (if visible) and then hides the FAB.
Hides the sheet ( if visible ) and then hides the FAB .