core-ktx / androidx.text / android.text.Spannable

Extensions for android.text.Spannable

clearSpans

fun Spannable.clearSpans(): Unit

Clear all spans from this text.

minusAssign

operator fun Spannable.minusAssign(span: Any): Unit

Removes span from this text.

plusAssign

operator fun Spannable.plusAssign(span: Any): Unit

Adds span to the entire text.