Android Developers1.33 млн
Опубликовано 21 января 2016, 20:23
Read the blog post: medium.com/google-developers/s...
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! (developer.android.com/referenc...
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. (material.google.com/components... And if you really like being wrong, there’s always a Dialog! (material.google.com/components...
But you’re better than that. So be a better developer and use the better choice: Snackbar.
#BuildBetterApps #ui
Watch more episodes of Android Development Patterns here: goo.gl/SYo07w
Subscribe to the Android Developers channel at goo.gl/GEh1ds
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! (developer.android.com/referenc...
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. (material.google.com/components... And if you really like being wrong, there’s always a Dialog! (material.google.com/components...
But you’re better than that. So be a better developer and use the better choice: Snackbar.
#BuildBetterApps #ui
Watch more episodes of Android Development Patterns here: goo.gl/SYo07w
Subscribe to the Android Developers channel at goo.gl/GEh1ds
Свежие видео
Случайные видео
Feel the Fire 6 Power 120LM Flashlight—turning the darkest night into day in an instant!#ruggedphone