private void setRotationOptions(RotationOptions rotationOptions) {
    VitoView.show(
        mUri, ImageOptions.create().rotate(rotationOptions).build(), CALLER_CONTEXT, mImageView);
  }
Simple vito fragment that just displays an image.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/vito/VitoRotationFragment.java