问题
I am trying to implement the mention feature using Multiautocompletextview
.
Instead of username ex: "shan1234" I am displaying the whole name like "Shan Mehta".
I have implemented it till this. But I want to change the color of it. I can change the color of a word which is attached to @ ex: "@Shan Mehta". I am able to change the color of @Shan but not Mehta. Please refer image. I also want it to consider that whole string as a mention tag.
来源:https://stackoverflow.com/questions/65821555/multiautocomplettextview-not-coloring-all-words-of-selected-string-item