android-components / mozilla.components.feature.contextmenu / ContextMenuCandidate / SnackbarDelegate

SnackbarDelegate

interface SnackbarDelegate (source)

Delegate to display a snackbar.

Functions

Name Summary
show abstract fun show(snackBarParentView: <ERROR CLASS>, text: Int, duration: Int, action: Int = 0, listener: (<ERROR CLASS>) -> Unit = null): Unit
Displays a snackbar.

Inheritors

Name Summary
DefaultSnackbarDelegate class DefaultSnackbarDelegate : SnackbarDelegate
Default implementation for ContextMenuCandidate.SnackbarDelegate. Will display a standard default Snackbar.