Read the blog post: https://medium.com/@dontmesswithjo/snackbar-the-appropriate-interruption-ceb54d9be583
Alerts are pretty critical for communicating with your user. But it helps to know what is appropriate so that your users don’t hate you. Fortunately, there’s a simple answer: use a Snackbar! (http://developer.android.com/reference/android/support/design/widget/Snackbar.html)
But, for those nuanced cases where you want to choose between a Toast and a Snackbar, the design docs have pretty much every detail you could need. (http://www.google.com/design/spec/components/snackbars-toasts.html#) And if you really like being wrong, there’s always a Dialog! (http://www.google.com/design/spec/components/dialogs.html#dialogs-behavior)
But you’re better than that. So be a better developer and use the better choice: Snackbar.
Related:
- My blog post of "Android Snackbar example of Android Design Support Library".
No comments:
Post a Comment