I want to have a string Bold into a textView with Kotlin, here's my code :
 val priceTxt = "10.000" ///example
    
    val s = SpannableStringBuilder()
                .append("starting from")
                .append(" ")
                .append(currency)
                .append(" ")
                .bold { append(priceTxt) }
     txtviewPrice.text = s
I want to get the following result : "starting from $ 10.000"
What should I change in my code to make it as the example above ?
 
    