@Override
          public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
            final SimpleRotationOptionsAdapter.Entry spinnerEntry =
                (SimpleRotationOptionsAdapter.Entry) adapter.getItem(position);
            setRotationOptions(spinnerEntry.rotationOptions);
          }
Simple vito fragment that just displays an image.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/vito/VitoRotationFragment.java