@Override
          public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
            final SimpleScaleTypeAdapter.Entry spinnerEntry =
                (SimpleScaleTypeAdapter.Entry) scaleTypeAdapter.getItem(position);
            changeImageScaleType(spinnerEntry.scaleType, spinnerEntry.focusPoint);
          }
A {@link Fragment} that illustrates using rounded corners with Fresco.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/vito/VitoRoundedCornersFragment.java