BaseCallback

abstract class BaseCallback<B>

Base class for BaseTransientBottomBar callbacks.

Parameters

<B>

The transient bottom bar subclass.

See also

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Annotation for types of Dismiss events.

Properties

Link copied to clipboard
Indicates that the Snackbar was dismissed via an action click.
Link copied to clipboard
Indicates that the Snackbar was dismissed from a new Snackbar being shown.
Link copied to clipboard
Indicates that the Snackbar was dismissed via a call to dismiss.
Link copied to clipboard
Indicates that the Snackbar was dismissed via a swipe.
Link copied to clipboard
Indicates that the Snackbar was dismissed via a timeout.

Functions

Link copied to clipboard
open fun onDismissed(transientBottomBar: B, event: Int)
Called when the given BaseTransientBottomBar has been dismissed, either through a time-out, having been manually dismissed, or an action being clicked.
Link copied to clipboard
open fun onShown(transientBottomBar: B)
Called when the given BaseTransientBottomBar is visible.