Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow tags #10

Open
juanjold opened this issue Jan 11, 2016 · 5 comments
Open

Slow tags #10

juanjold opened this issue Jan 11, 2016 · 5 comments

Comments

@juanjold
Copy link

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
Copy link
Owner

kaedea commented Jan 11, 2016

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
Copy link
Author

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
Copy link

没有仓库吗?

@kaedea
Copy link
Owner

kaedea commented Mar 2, 2016

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

没有仓库吗?


Reply to this email directly or view it on GitHub
#10 (comment)
.

@guguangzhu
Copy link

好的 谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants