void setImageProvider(@Nullable ImageDocument.ScaledImageProvider imageProvider, @Nullable String format) {
    editorUI.setImageProvider(imageProvider, format);
  }
void setImageProvider(@Nullable ImageDocument.ScaledImageProvider imageProvider, @Nullable String format)