kaedea / android-tagview

An Android TagView Widget. You can edit the tag's style, and set listener of selecting or deleting tag.
663 stars 134 forks source link

Slow tags #10

Open juanjold opened 8 years ago

juanjold commented 8 years ago

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?

kaedea commented 8 years ago

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.

juanjold commented 8 years ago

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?

guguangzhu commented 8 years ago

没有仓库吗?

kaedea commented 8 years ago

下次大改后再入库吧 2016年3月2日 15:23,"guguangzhu" notifications@github.com写道:

没有仓库吗?

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

guguangzhu commented 8 years ago

好的 谢谢