clickable
fun Any?.clickable(@ColorInt color: Int? = null, @ColorInt backgroundColor: Int? = null, style: Int? = null, config: SimpleClickableConfig? = null, replaceRule: Any? = null, onClick: OnSpanClickListener? = null)
Content copied to clipboard
SimpleClickableSpan 设置文本点击效果
Parameters
color
文本颜色
background Color
背景颜色
style
文本样式 Typeface.NORMALTypeface.ITALIC
config
replace Rule
组合替换规则 StringReplaceRule
on Click
OnSpanClickListener 点击回调