Change code to this in order to handle resetting tags after view was initialized but setTags originally contained an empty list
public void setTags(List<? extends Tag> tags, String separator) {
if (tags.isEmpty()) {
this.setVisibility(View.GONE);
return;
} else {
//If you initialized this originally with an empty list the above code made it GONE
//then if you try to set again it doesn't become visible without adding this snippet.
this.setVisibility(View.VISIBLE);
}
Change code to this in order to handle resetting tags after view was initialized but setTags originally contained an empty list
//If you initialized this originally with an empty list the above code made it GONE //then if you try to set again it doesn't become visible without adding this snippet. this.setVisibility(View.VISIBLE); }