@Nullable
    @Override
    public Drawable createDrawable(CloseableImage image) {
      // Just return a simple ColorDrawable with the given color value
      return new ColorDrawable(((CloseableColorImage) image).getColor());
    }
Color drawable factory that is able to render a {@link CloseableColorImage} by creating a new
{@link ColorDrawable} for the given color.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/imageformat/color/ColorImageExample.java