public class SpanHelper extends Object
android.text.style
.Constructor and Description |
---|
SpanHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
replaceSpan(Spannable spannable,
Object oldSpan,
Object newSpan)
Add
newSpan at the same start and end indices as oldSpan and remove
oldSpan from the spannable . |