private void addSpanWatcher ( ) { Spannable spannable = getText ( ) ; if ( spannable . getSpans ( 0 , spannable . length ( ) , getClass ( ) ) != null ) { spannable . setSpan ( this , 0 , spannable . length ( ) , Spanned . SPAN_INCLUSIVE_INCLUSIVE ) ; } }
Add a SpanWatcher for the Changeable implementation