public void toggle(boolean animate) {
        if (mIsHidden) {
            show(animate);
        } else {
            hide(animate);
        }
    }
show BottomNavigationBar if it is hidden and hide if it is shown

@param animate is animation enabled for toggle
common/src/main/java/com/sxjs/common/widget/bottomnavigation/BottomNavigationBar.java