Stay organized with collections
Save and categorize content based on your preferences.
BaseTransientBottomBar.ContentViewCallback
public
static
interface
BaseTransientBottomBar.ContentViewCallback
implements
ContentViewCallback
com.google.android.material.snackbar.BaseTransientBottomBar.ContentViewCallback
|
This interface is deprecated.
Use ContentViewCallback
instead.
Interface that defines the behavior of the main content of a transient bottom bar.
Summary
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# BaseTransientBottomBar.ContentViewCallback\n\nSummary: [Inherited Methods](#inhmethods) \n\nBaseTransientBottomBar.ContentViewCallback\n==========================================\n\n\n`\npublic\nstatic\n\n\ninterface\nBaseTransientBottomBar.ContentViewCallback\n`\n\n\n`\n\n\nimplements\n\n`[ContentViewCallback](/reference/com/google/android/material/snackbar/ContentViewCallback)`\n\n\n`\n\n|---------------------------------------------------------------------------------|\n| com.google.android.material.snackbar.BaseTransientBottomBar.ContentViewCallback |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\n**This interface is deprecated.** \n\nUse [ContentViewCallback](/reference/com/google/android/material/snackbar/ContentViewCallback) instead.\n\nInterface that defines the behavior of the main content of a transient bottom bar.\n\nSummary\n-------\n\n| ### Inherited methods |\n|-----------------------|---|\n| From interface ` `[com.google.android.material.snackbar.ContentViewCallback](/reference/com/google/android/material/snackbar/ContentViewCallback)` ` |------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` `[animateContentIn](/reference/com/google/android/material/snackbar/ContentViewCallback#animateContentIn(int,%20int))`(int delay, int duration) ` Animates the content of the transient bottom bar in. | | ` abstract void` | ` `[animateContentOut](/reference/com/google/android/material/snackbar/ContentViewCallback#animateContentOut(int,%20int))`(int delay, int duration) ` Animates the content of the transient bottom bar out. | ||"]]