docs: public static void update(final Activity activity, final MenuItem menu, Drawable icon, BadgeStyle style, String badgeCount, final ActionItemBadgeListener listener) {
          if (menu == null) return;
  
          FrameLayout badge;
          TextView badgeView;
          ImageView imageView;
  
          if (style == null) {
              badge = (FrameLayout) menu.getActionView();
          } else {
              badge = (FrameLayout) menu.setActionView(style.getLayout()).getActionView();
          }
  
          badgeView = (TextView) badge.findViewById(R.id.menu_badge);
          imageView = (ImageView) badge.findViewById(R.id.menu_badge_icon);
  
          //Display icon in ImageView
          if (imageView != null && icon != null) {
              imageView.setImageDrawable(icon);
          }
  
          //Bind onOptionsItemSelected to the activity
          if (activity != null) {
              badge.setOnClickListener(new View.OnClickListener() {
                  @Override
                  public void onClick(View v) {
                      boolean consumed = false;
                      if (listener != null) {
                          consumed = listener.onOptionsItemSelected(menu);
                      }
                      if (!consumed) {
                          activity.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, menu);
                      }
                  }
              });
  
              badge.setOnLongClickListener(new View.OnLongClickListener() {
                  @Override
                  public boolean onLongClick(View v) {
                      Display display = activity.getWindowManager().getDefaultDisplay();
                      Point size = new Point();
                      display.getSize(size);
                      int width = size.x;
                      Toast toast = Toast.makeText(activity, menu.getTitle(), Toast.LENGTH_SHORT);
                      toast.setGravity(Gravity.TOP, width / 5, UIUtil.convertDpToPx(activity, 48)); //your width and height
                      toast.show();
                      return true;
                  }
              });
          }
  
          //Apply style if it's set
          if (style != null) {
              UIUtil.setBackground(badgeView, new BadgeDrawableBuilder().corners(style.getCorner()).color(style.getColor()).colorPressed(style.getColorPressed()).strokeColor(style.getStrokeColor()).stroke(style.getStroke()).build(activity));
              badgeView.setTextColor(style.getTextColor());
          }
  
          //Manage min value
          if (badgeCount == null) {
              badgeView.setVisibility(View.GONE);
          } else {
              badgeView.setVisibility(View.VISIBLE);
              badgeView.setText(badgeCount);
          }
  
          menu.setVisible(true);
      }