public class TextViewUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
TextViewUtils.RegularCallBack |
static class |
TextViewUtils.URLSpanNoUnderline
取消超链接下划线的UrlSpan
|
Constructor and Description |
---|
TextViewUtils() |
Modifier and Type | Method and Description |
---|---|
static android.text.SpannableStringBuilder |
getRichSpannable(java.lang.String content,
TextViewUtils.RegularCallBack callBack,
int foregroundColor) |
static android.text.SpannableStringBuilder |
getSpannable(java.lang.String content,
TextViewUtils.RegularCallBack callBack) |
public static android.text.SpannableStringBuilder getSpannable(java.lang.String content, TextViewUtils.RegularCallBack callBack)
content
- 替换内容callBack
- 异步请求回调public static android.text.SpannableStringBuilder getRichSpannable(java.lang.String content, TextViewUtils.RegularCallBack callBack, int foregroundColor)
content
- 替换内容callBack
- 异步请求回调