public void setCached(boolean cached) {
      mCached.setBackgroundColor(cached ? mFrameCachedColor : mDisabledColor);
      mCached.setText(cached ? "cached" : "");
    }
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