Visual Feedback: Dialogs, Snackbars & Toasts
Mar 16 2021 Kotlin 1.4, Android 11, Android Studio 4
Part 1: Visual Feedback: Dialogs, Snackbars & Toasts
8. Create & Display Toasts
This video was last updated on Mar 16 2021
Toasts have been available for developers to use in their Android apps for a long time. The simplest form of pop-up message, they are unobtrusive and short-lived, wrap around their content and display at the bottom of the screen.
Toast.makeText(this, R.string.toast_copied_to_clipboard, Toast.LENGTH_LONG).show()