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

Lesson Complete

Save for later
About this episode
See forum comments
Cinema mode Mark as Complete Download course materials
Previous episode: 7. Use Snackbars

This video was last updated on Mar 16 2021

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a Professional subscription.

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()