@Override
          public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
            CustomImageFormatConfigurator.setSvgEnabled(getContext(), isChecked);
            getShowRestartMessageDialog().show(getChildFragmentManager(), null);
          }
SVG example. It has a toggle to enable / disable SVG support and displays 1 image.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/imageformat/svg/ImageFormatSvgFragment.java