public BadgeItem toggle(boolean animate) {
        if (mIsHidden) {
            return show(animate);
        } else {
            return hide(animate);
        }
    }
@param animate whether to animate the change
@return this, to allow builder pattern
common/src/main/java/com/sxjs/common/widget/bottomnavigation/BadgeItem.java