Source set: Common
public enum class SnackbarDuration {
/** Show the Snackbar for a short period of time */
Short,
/** Show the Snackbar for a long period of time */
Long,
/** Show the Snackbar indefinitely until explicitly dismissed or action is clicked */
Indefinite,
}
Possible durations of the Snackbar in SnackbarHost
Members
Short
Source set: Common
Short
Show the Snackbar for a short period of time
Long
Source set: Common
Long
Show the Snackbar for a long period of time
Indefinite
Source set: Common
Indefinite
Show the Snackbar indefinitely until explicitly dismissed or action is clicked