A Toast (package android.widget
) briefly displays a message, then disappears from the screen. Toast
s are often used to display minor error messages or informational messages, such as that the quiz will be reset after the user changes the app’s preferences. When the user changes the preferences, we display a Toast
to indicate that the quiz will start over. We also display a Toast
to indicate that at least one region must be selected if the user deselects all regions—in this case, the app sets North America as the default region for the quiz.