TagView
TagView copied to clipboard
Colour of the tag not changing
I'm trying to change colour of the tag if the tag is clicked. I'm doing this is onTagClickListener, code can be found below:
private OnTagClickListener onTagClickListener = new OnTagClickListener() {
@Override
public void onTagClick(Tag tag, int i) {
tag.tagTextColor = getContext().getColor(R.color.black);
}
};
Is it possible to change colour of the tag this way? Also, I need to change colour of the tag depending on the present colour of the tag. Is it possible to do using this library? Thanks.