@Override
          public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
            updateAnimationBackend(mArrayAdapter.getItem(position).createBackend());
          }
Animation backend configurator that holds all sample animation backends.
samples/animation2/src/main/java/com/facebook/samples/animation2/utils/SampleAnimationBackendConfigurator.java