library/src/main/java/com/github/clans/fab/FloatingActionMenu.java
public void hideMenu(final boolean animate) {
        if (!isMenuHidden() && !mIsMenuButtonAnimationRunning) {
            mIsMenuButtonAnimationRunning = true;
            if (isOpened()) {
                close(animate);
                mUiHandler.postDelayed(new Runnable() {
                    @Override
                    public void run() {
                        if (animate) {
                            startAnimation(mMenuButtonHideAnimation);
                        }
                        setVisibility(INVISIBLE);
                        mIsMenuButtonAnimationRunning = false;
                    }
                }, mAnimationDelayPerItem * mButtonsCount);
            } else {
                if (animate) {
                    startAnimation(mMenuButtonHideAnimation);
                }
                setVisibility(INVISIBLE);
                mIsMenuButtonAnimationRunning = false;
            }
        }
    }
public void hideMenu(final boolean animate) {
        if (!isMenuHidden() && !mIsMenuButtonAnimationRunning) {
            mIsMenuButtonAnimationRunning = true;
            if (isOpened()) {
                close(animate);
                mUiHandler.postDelayed(new Runnable() {
                    @Override
                    public void run() {
                        if (animate) {
                            startAnimation(mMenuButtonHideAnimation);
                        }
                        setVisibility(INVISIBLE);
                        mIsMenuButtonAnimationRunning = false;
                    }
                }, mAnimationDelayPerItem * mButtonsCount);
            } else {
                if (animate) {
                    startAnimation(mMenuButtonHideAnimation);
                }
                setVisibility(INVISIBLE);
                mIsMenuButtonAnimationRunning = false;
            }
        }
    }
public void hideMenu ( final boolean animate ) { if ( ! isMenuHidden ( ) && ! mIsMenuButtonAnimationRunning ) { mIsMenuButtonAnimationRunning = true ; if ( isOpened ( ) ) { close ( animate ) ; mUiHandler . postDelayed ( new Runnable ( ) { @ Override public void run ( ) { if ( animate ) { startAnimation ( mMenuButtonHideAnimation ) ; } setVisibility ( INVISIBLE ) ; mIsMenuButtonAnimationRunning = false ; } } , mAnimationDelayPerItem * mButtonsCount ) ; } else { if ( animate ) { startAnimation ( mMenuButtonHideAnimation ) ; } setVisibility ( INVISIBLE ) ; mIsMenuButtonAnimationRunning = false ; } } }
Makes the {@link #FloatingActionMenu} to disappear and sets its visibility to {@link #INVISIBLE}

@param animate if true - plays "hide animation"
Makes the { @link #FloatingActionMenu } to disappear and sets its visibility to { @link #INVISIBLE }