Package io.rong.imkit.utils

## Class TextViewUtils

- All Implemented Interfaces:

      public class TextViewUtils

  处理 textMessage 和 ReferenceMessage 的文本内容

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `public interface` | `TextViewUtils.RegularCallBack` |
    `public class` | `TextViewUtils.URLSpanNoUnderline` | 取消超链接下划线的UrlSpan

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TextViewUtils()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `static SpannableStringBuilder` | `getSpannable(String content, TextViewUtils.RegularCallBack callBack)` |
    `static SpannableStringBuilder` | `getSpannable(String content, boolean regular, TextViewUtils.RegularCallBack callBack)` |
    `static SpannableStringBuilder` | `getRichSpannable(String content, TextViewUtils.RegularCallBack callBack, int foregroundColor)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TextViewUtils

          TextViewUtils()

  - ### Method Detail

    - #### getSpannable

           static SpannableStringBuilder getSpannable(String content, TextViewUtils.RegularCallBack callBack)

      Parameters:
        `content` - 替换内容
        `callBack` - 异步请求回调
      Returns:

        内容的 spannable

    - #### getSpannable

           static SpannableStringBuilder getSpannable(String content, boolean regular, TextViewUtils.RegularCallBack callBack)

      Parameters:
        `content` - 替换内容
        `callBack` - 异步请求回调
      Returns:

        内容的 spannable

    - #### getRichSpannable

           static SpannableStringBuilder getRichSpannable(String content, TextViewUtils.RegularCallBack callBack, int foregroundColor)

      Parameters:
        `content` - 替换内容
        `callBack` - 异步请求回调
      Returns:

        内容的 spannable