public T html ( final String text ) { if ( TextUtils . isEmpty ( text ) ) { return text ( "" ) ; } if ( text . contains ( "<" ) && text . contains ( ">" ) ) { if ( view instanceof TextView ) ( ( TextView ) view ) . setMovementMethod ( LinkMovementMethod . getInstance ( ) ) ; return text ( Html . fromHtml ( text ) ) ; } else { return text ( text ) ; } }
set html content to TextView