Snackbar doesn't survive a configuration change
Opened this issue · 2 comments
passsy commented
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 commented
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 commented
Not sure I understand what you meant to say. I am facing this issue now and searching a fix for it.