private void changeMainVitoUri(Uri uri) {
    mCurrentUri = uri;
    VitoView.show(uri, CALLER_CONTEXT, mVitoMain);
  }
Simple Vito fragment that illustrates different scale types
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/vito/VitoScaleTypeFragment.java