@Override
        public void onFrameDropped(BitmapAnimationBackend backend, int frameNumber) {
          // The frame could not be drawn for some reason.
          // We don't care about this since caching is independent of rendering.
        }
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