@Override
    public void onFinalImageSet(
        String id, @Nullable ImageInfo imageInfo, @Nullable Animatable animatable) {
      if (mEnableResizing && imageInfo != null) {
        Drawable topLevelDrawable = (Drawable) mVitoSpan.getDrawableInterface();
        Rect topLevelDrawableBounds = topLevelDrawable.getBounds();
        if (mFixedHeight != UNSET_SIZE) {
          float imageWidth = ((float) mFixedHeight / imageInfo.getHeight()) * imageInfo.getWidth();
          int imageWidthPx = (int) imageWidth;
          if (topLevelDrawableBounds.width() != imageWidthPx
              || topLevelDrawableBounds.height() != mFixedHeight) {
            topLevelDrawable.setBounds(0, 0, imageWidthPx, mFixedHeight);

            if (mDraweeSpanChangedListener != null) {
              mDraweeSpanChangedListener.onDraweeSpanChanged(DraweeSpanStringBuilder.this);
            }
          }
        } else if (topLevelDrawableBounds.width() != imageInfo.getWidth()
            || topLevelDrawableBounds.height() != imageInfo.getHeight()) {
          topLevelDrawable.setBounds(0, 0, imageInfo.getWidth(), imageInfo.getHeight());

          if (mDraweeSpanChangedListener != null) {
            mDraweeSpanChangedListener.onDraweeSpanChanged(DraweeSpanStringBuilder.this);
          }
        }
      }
    }
Create a new DrawableChangedListener If resizing is enabled, the drawable will be resized to
the size of the actual image once it is available. If a fixed height is given and resizing is
enabled, the drawable will be resized to match the aspect ratio of the original image but
will have the given fixed height.

@param vitoSpan the Vito span to listen to
@param enableResizing if true, the drawable will be resized according to the final image size
@param fixedHeight use a fixed height even if resizing is enabled {@link #UNSET_SIZE}
drawee-span/src/main/java/com/facebook/drawee/span/DraweeSpanStringBuilder.java