For the ktx SpannableStringBuilder support, does a...
# android
a
For the ktx SpannableStringBuilder support, does anyone have an answer for i18n string resources? That is, in different locales, the string resource you want marked up (say, bolded) may be at the start of the phrase in one locale, but it may be in the middle or at the end in another. Do people handle these cases somehow with ktx? Or just fall back to the standard Android SpannableStringBuilder and search for the bold substring in the complete phrase?