code: public final void setIcon(@DrawableRes final int resourceId) {
          this.icon = ContextCompat.getDrawable(getContext(), resourceId);
          this.iconBitmap = null;
          this.iconId = resourceId;
          this.iconAttributeId = -1;
          adaptIcon();
      }
docs: Sets the icon of the bottom sheet.
  
  @param resourceId
  The resource id of the icon, which should be set, as an {@link Integer} value. The
  resource id must correspond to a valid drawable resource