https://kotlinlang.org logo
Title
u

user

06/30/2022, 6:51 PM
How to use SpannableString in Kotlin MVVM I'm kinda stack with this scenario actually, Since I need to span some characters in my string, but still gives me a plain text. Do you guys have any suggestion here how to use SpannableString not directly using in TextView but instead assigning this to the String object and will be use later on the TextView? It is obvious it will work inside the activity and fragment. but I'm working on the outside of the context since I'm using a shared component. example: I have here a ui factory. fun...