nispok/snackbar

Dismiss by replace should change the current snackbar's content instead of dismissing it

Closed this issue · 3 comments

This is not mentioned in the guidelines but is present in some of google's own apps like Google Keep and Chrome. If a snackbar needs to show while the previous one is still showing, the content of the previous snackbar is replaced and the duration of the snackbar is reset. This is much smoother than the dismiss and show behaviour.

I fixed this and create a pull request #108

wmora commented

closed via #108