Companion

object Companion

Functions

Link copied to clipboard
fun CharSequence.styleText(ctx: Context? = null, @AttrRes linkColor: Int = R.attr.mimiPrimaryTintColorNormal, linkOnClick: () -> Unit? = null): Spanned

This function requires that the parts of the string that need to be bolded are wrapped in * and * tags and links in [ and ]