Currently, in order to create a dialogue with styled text, the only option is to pass in HTML. With Kotlin's excellent extension methods for SpannableStringBuilder, it is now easier to build a CharSequence directly instead of constructing HTML
It might be sufficient just to change signature of SimpleDialog#msg to accept CharSequence
Currently, in order to create a dialogue with styled text, the only option is to pass in HTML. With Kotlin's excellent extension methods for SpannableStringBuilder, it is now easier to build a CharSequence directly instead of constructing HTML
It might be sufficient just to change signature of SimpleDialog#msg to accept CharSequence
Links KTX SpannableStringBuilder