SpannableString not working in Kotlin MVVM
I'm kinda stack here on my problem and trying to find a solution on the internet seems all of them does not work at all. I have an extension function that can add a spannable when the mail is unread. but all solutions that I found not work at all.
But setting this span:
setSpan(StyleSpan(TypeFace.Bold)) //