android-tagview icon indicating copy to clipboard operation
android-tagview copied to clipboard

Slow tags

Open juanjold opened this issue 10 years ago • 5 comments

What is the best way to change a tag on click? I have at least 50, and when I click on one of them I want to change the tag's color/pressed state. The way I am doing it now is by clearing the tags and then adding them back, but it can be slow. Any suggestions?

juanjold avatar Jan 11 '16 01:01 juanjold

Every tag is a TextView. You can just find the TextView you want and change the color of it. Actually I am intented to upgrade this project, because there are many features done badly.

kaedea avatar Jan 11 '16 06:01 kaedea

oh that would be awesome. I'm sorry but how do I find the tag? I have an onTagClickListener that returns a Tag and an int i. I've tried editing this tag but this doesn't update it automatically; I have to update the tag and then tagview.getTags().set(i,tag), and then add and remove all of them so it updates them. is there a simpler way?

juanjold avatar Jan 12 '16 01:01 juanjold

没有仓库吗?

guguangzhu avatar Mar 02 '16 07:03 guguangzhu

下次大改后再入库吧 2016年3月2日 15:23,"guguangzhu" [email protected]写道:

没有仓库吗?

— Reply to this email directly or view it on GitHub https://github.com/kaedea/Android-Cloud-TagView-Plus/issues/10#issuecomment-191108076 .

kaedea avatar Mar 02 '16 07:03 kaedea

好的 谢谢

guguangzhu avatar Mar 02 '16 07:03 guguangzhu