public TextLayoutBuilder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) {
    if (mParams.ellipsize != ellipsize) {
      mParams.ellipsize = ellipsize;
      mSavedLayout = null;
    }
    return this;
  }
Sets the ellipsis location for the layout.

@param ellipsize The ellipsis location in the layout
@return This {@link TextLayoutBuilder} instance
library/src/main/java/com/facebook/fbui/textlayoutbuilder/TextLayoutBuilder.java