Stay organized with collections
Save and categorize content based on your preferences.
com.google.android.material.snackbar
Interfaces
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# com.google.android.material.snackbar\n====================================\n\nInterfaces\n----------\n\n|------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [BaseTransientBottomBar.ContentViewCallback](/reference/com/google/android/material/snackbar/BaseTransientBottomBar.ContentViewCallback) | *This interface is deprecated. Use [ContentViewCallback](/reference/com/google/android/material/snackbar/ContentViewCallback) instead.* |\n| [ContentViewCallback](/reference/com/google/android/material/snackbar/ContentViewCallback) | Interface that defines the behavior of the main content of a transient bottom bar. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| [BaseTransientBottomBar](/reference/com/google/android/material/snackbar/BaseTransientBottomBar)\\\u003cB extends [BaseTransientBottomBar](/reference/com/google/android/material/snackbar/BaseTransientBottomBar)\\\u003cB\\\u003e\\\u003e | Base class for lightweight transient bars that are displayed along the bottom edge of the application window. |\n| [BaseTransientBottomBar.BaseCallback](/reference/com/google/android/material/snackbar/BaseTransientBottomBar.BaseCallback)\\\u003cB\\\u003e | Base class for [BaseTransientBottomBar](/reference/com/google/android/material/snackbar/BaseTransientBottomBar) callbacks. |\n| [BaseTransientBottomBar.Behavior](/reference/com/google/android/material/snackbar/BaseTransientBottomBar.Behavior) | Behavior for [BaseTransientBottomBar](/reference/com/google/android/material/snackbar/BaseTransientBottomBar). |\n| [Snackbar](/reference/com/google/android/material/snackbar/Snackbar) | Snackbars provide lightweight feedback about an operation. |\n| [Snackbar.Callback](/reference/com/google/android/material/snackbar/Snackbar.Callback) | Callback class for [Snackbar](/reference/com/google/android/material/snackbar/Snackbar) instances. |\n\n-\n\n Interfaces\n ----------\n\n - [BaseTransientBottomBar.ContentViewCallback](/reference/com/google/android/material/snackbar/BaseTransientBottomBar.ContentViewCallback)\n - [ContentViewCallback](/reference/com/google/android/material/snackbar/ContentViewCallback)\n-\n\n Classes\n -------\n\n - [BaseTransientBottomBar](/reference/com/google/android/material/snackbar/BaseTransientBottomBar)\n - [BaseTransientBottomBar.BaseCallback](/reference/com/google/android/material/snackbar/BaseTransientBottomBar.BaseCallback)\n - [BaseTransientBottomBar.Behavior](/reference/com/google/android/material/snackbar/BaseTransientBottomBar.Behavior)\n - [Snackbar](/reference/com/google/android/material/snackbar/Snackbar)\n - [Snackbar.Callback](/reference/com/google/android/material/snackbar/Snackbar.Callback)"]]