public void showSheet() {
		if (isAnimating()) {
			return;
		}
		isShowing = true;

		// Show overlay
		overlayAnimation.show(SHOW_OVERLAY_ANIM_DURATION, null);

		// Morph FAB into sheet
		morphIntoSheet(new AnimationListener() {
			@Override
			public void onEnd() {
				// Call event listener
				if (eventListener != null) {
					eventListener.onSheetShown();
				}

				// Assuming that this is the last animation to finish
				isShowing = false;

				// Hide sheet after it is shown
				if (hideSheetAfterSheetIsShown) {
					hideSheet();
					hideSheetAfterSheetIsShown = false;
				}
			}
		});

		// Call event listener
		if (eventListener != null) {
			eventListener.onShowSheet();
		}
	}
public void showSheet() {
		if (isAnimating()) {
			return;
		}
		isShowing = true;

		
		overlayAnimation.show(SHOW_OVERLAY_ANIM_DURATION, null);

		
		morphIntoSheet(new AnimationListener() {
			@Override
			public void onEnd() {
				
				if (eventListener != null) {
					eventListener.onSheetShown();
				}

				
				isShowing = false;

				
				if (hideSheetAfterSheetIsShown) {
					hideSheet();
					hideSheetAfterSheetIsShown = false;
				}
			}
		});

		
		if (eventListener != null) {
			eventListener.onShowSheet();
		}
	}
public void showSheet ( ) { if ( isAnimating ( ) ) { return ; } isShowing = true ; // Show overlay overlayAnimation . show ( SHOW_OVERLAY_ANIM_DURATION , null ) ; // Morph FAB into sheet morphIntoSheet ( new AnimationListener ( ) { @ Override public void onEnd ( ) { // Call event listener if ( eventListener != null ) { eventListener . onSheetShown ( ) ; } // Assuming that this is the last animation to finish isShowing = false ; // Hide sheet after it is shown if ( hideSheetAfterSheetIsShown ) { hideSheet ( ) ; hideSheetAfterSheetIsShown = false ; } } } ) ; // Call event listener if ( eventListener != null ) { eventListener . onShowSheet ( ) ; } }
Shows the sheet.
Shows the sheet .