You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
}
The text was updated successfully, but these errors were encountered:
granoeste
added a commit
to granoeste/android-tagview
that referenced
this issue
May 19, 2017
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);
}
The text was updated successfully, but these errors were encountered: