Challenge: Switching Your Toast for a Snackbar

For this challenge, customize the toast by using a Snackbar instead of a Toast. While using a Toast is a convenient way to display UI, we recommend using a Snackbar in your applications because they are more configurable in both their appearance and behavior. Refer to the developer documentation at developer.android.com/​reference/​com/​google/​android/​material/​snackbar/​Snackbar for more details. (Hint: Take a look at the make and show functions.)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.22.160