ContentViewCallback

public interface ContentViewCallback

com.google.android.material.snackbar.ContentViewCallback
Known Indirect Subclasses


Interface that defines the behavior of the main content of a transient bottom bar.

Summary

Public methods

abstract void animateContentIn(int delay, int duration)

Animates the content of the transient bottom bar in.

abstract void animateContentOut(int delay, int duration)

Animates the content of the transient bottom bar out.

Public methods

animateContentIn

void animateContentIn (int delay, 
                int duration)

Animates the content of the transient bottom bar in.

Parameters
delay int: Animation delay.

duration int: Animation duration.

animateContentOut

void animateContentOut (int delay, 
                int duration)

Animates the content of the transient bottom bar out.

Parameters
delay int: Animation delay.

duration int: Animation duration.