AndroidTagView
AndroidTagView copied to clipboard
sometimes click on tags not recognized!
I use this library in items of recyclerview and set onClickListener to each of tags : `mTagContainerLayout.setOnTagClickListener(new TagView.OnTagClickListener() {
@Override
public void onTagClick(int position, String text) {
}
@Override
public void onTagLongClick(final int position, String text) {
}
});`
My recyclerview items are cardViews and I set onClickListener to their cardview too.
My problem is sometimes when I click on tags, nothing happens and sometimes my code in onclickListener works! why?
I`m also facing this issue have you found any solution @yasaman93
Faced this exact same issue. I simply put this line below, before setting click listeners.
tagContainerView.setIsTagViewClickable(true)
Solved perfectly.