@Override
  public boolean drawFrame(Drawable parent, Canvas canvas, int frameNumber) {
    if (mBounds == null) {
      return false;
    }
    mPaint.setColor(mColors[frameNumber]);
    canvas.drawRect(mBounds, mPaint);
    return true;
  }
Creates a simple animation backend that cycles through a list of colors.

@return the backend to use
samples/animation2/src/main/java/com/facebook/samples/animation2/color/ExampleColorBackend.java