docs: void bindToBottomTab(BottomNavigationTab bottomNavigationTab) {
          // set initial bindings
          bottomNavigationTab.badgeView.clearPrevious();
          if (bottomNavigationTab.badgeItem != null) {
              // removing old reference
              bottomNavigationTab.badgeItem.setTextView(null);
          }
          bottomNavigationTab.setBadgeItem(this);
          setTextView(bottomNavigationTab.badgeView);
  
          // allow sub class to modify the things
          bindToBottomTabInternal(bottomNavigationTab);
  
          // make view visible because gone by default
          bottomNavigationTab.badgeView.setVisibility(View.VISIBLE);
  
          // set layout params based on gravity
          FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) bottomNavigationTab.badgeView.getLayoutParams();
          layoutParams.gravity = getGravity();
          bottomNavigationTab.badgeView.setLayoutParams(layoutParams);
  
          // if hidden hide
          if (isHidden()) {
              // if hide is called before the initialisation of bottom-bar this will handle that
              // by hiding it.
              hide();
          }
      }