public TextLayoutBuilder setDrawableState(int[] drawableState) {
    mParams.createNewPaintIfNeeded();
    mParams.paint.drawableState = drawableState;

    if (mParams.color != null && mParams.color.isStateful()) {
      int color = mParams.color.getColorForState(drawableState, 0);
      mParams.paint.setColor(color);
      mSavedLayout = null;
    }
    return this;
  }
Updates the text colors based on the drawable state.

@param drawableState The current drawable state of the View holding this layout
@return This {@link TextLayoutBuilder} instance
library/src/main/java/com/facebook/fbui/textlayoutbuilder/TextLayoutBuilder.java