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

Snackbar doesn't survive a configuration change #74

Open
passsy opened this issue Jan 28, 2015 · 2 comments
Open

Snackbar doesn't survive a configuration change #74

passsy opened this issue Jan 28, 2015 · 2 comments

Comments

@passsy
Copy link

passsy commented Jan 28, 2015

After rotating the device the Snackbar is gone. I'm using SnackbarDuration.LENGTH_INDEFINITE so it should stay.

I guess this is the intended behavior, because it's just a view. Does someone have a best practice for this problem?

@wmora
Copy link
Contributor

wmora commented Feb 8, 2015

The Activity should handle this for now.

To make it look as it the Snackbar is not reappearing, the SnackbarManager could have a method to show the existing Snackbar without the "on enter" animation. This would still need to be called from the Activity.

@vasimihalca
Copy link

Not sure I understand what you meant to say. I am facing this issue now and searching a fix for it.

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

3 participants