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

Visibility issues #5

Open
SwiftKayAndroid opened this issue Dec 16, 2015 · 1 comment
Open

Visibility issues #5

SwiftKayAndroid opened this issue Dec 16, 2015 · 1 comment

Comments

@SwiftKayAndroid
Copy link

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);
}

granoeste added a commit to granoeste/android-tagview that referenced this issue May 19, 2017
- Visibility issues : mcharmas#5
@vhacker5192
Copy link

Just Add this to your Activity manifest file
android:configChanges="orientation|screenSize|keyboardHidden"

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

2 participants