Multiautocomplettextview not coloring all words of selected string item

谁说胖子不能爱 提交于 2021-01-28 09:03:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!