private void setImageUri(Uri uri) {
    VitoView.show(uri, ImageOptions.create().build(), CALLER_CONTEXT, mImageView);
  }
This fragment displays different XML images.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/imageformat/xml/ImageFormatXmlFragment.java