@Override
          public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
            BitmapFrameCache bitmapFrameCache =
                mArrayAdapter.getItem(position).createBitmapFrameCache();
            bitmapFrameCache.setFrameCacheListener(mFrameCacheListener);
            updateBitmapFrameCache(bitmapFrameCache);
          }
Manages a {@link Spinner} that can be used to switch the used caching implementation for {@link
BitmapAnimationBackend}s.
samples/animation2/src/main/java/com/facebook/samples/animation2/bitmap/BitmapAnimationCacheSelectorConfigurator.java