private void addSampleBackends() {
    mArrayAdapter.add(createNoOpCachingStrategy());
    mArrayAdapter.add(createKeepLastCachingStrategy());
    mArrayAdapter.add(createNaiveCacheAllFramesCachingStrategy());
    mArrayAdapter.add(createFrescoFrameCache(false));
    mArrayAdapter.add(createFrescoFrameCache(true));
  }
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