I have a Recycle view that i want to iterate over and add a bullet point in front of each input String.
I have the following:
value.strings.xml
<string name="skill">• %1$s</string>
ProfileListAdapter:
fun bindSkills(skill: String) {
itemView.recycleSkillItem.text = String.format(Locale(R.string.skill.toString()), ${R.string.skill}, skill)
}
This prints the same int over and over again without the bullet point.
what is the best practice to format strings in kotlin?