The SpannableStringBuilder DSL is much easier to understand compared to the current implementation where we use StyledText. I think adding an extra dependency is OK as there are many other extension functions defined in Android KTX that can be useful, and the library is ultimately very small.
The
SpannableStringBuilder
DSL is much easier to understand compared to the current implementation where we useStyledText
. I think adding an extra dependency is OK as there are many other extension functions defined in Android KTX that can be useful, and the library is ultimately very small.