@Override
        public void onFrameEvicted(BitmapFrameCache bitmapFrameCache, int frameNumber) {
          FrameInformationHolder frameInfo = mFrameInfoMap.get(frameNumber);
          if (frameInfo != null) {
            frameInfo.setCached(false);
          }
        }
Fragment that creates a new {@link AnimatedDrawable2} and a custom bitmap animation backend. In
addition, it displays useful debug information, like cached frames.
samples/animation2/src/main/java/com/facebook/samples/animation2/bitmap/BitmapAnimationDebugFragment.java