[android-components](../../index.md) / [mozilla.components.feature.contextmenu](../index.md) / [DefaultSnackbarDelegate](./index.md)

# DefaultSnackbarDelegate

`class DefaultSnackbarDelegate : `[`SnackbarDelegate`](../-context-menu-candidate/-snackbar-delegate/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/contextmenu/src/main/java/mozilla/components/feature/contextmenu/ContextMenuCandidate.kt#L277)

Default implementation for [ContextMenuCandidate.SnackbarDelegate](../-context-menu-candidate/-snackbar-delegate/index.md). Will display a standard default Snackbar.

### Constructors

| Name | Summary |
|---|---|
| [&lt;init&gt;](-init-.md) | `DefaultSnackbarDelegate()`<br>Default implementation for [ContextMenuCandidate.SnackbarDelegate](../-context-menu-candidate/-snackbar-delegate/index.md). Will display a standard default Snackbar. |

### Functions

| Name | Summary |
|---|---|
| [show](show.md) | `fun show(snackBarParentView: <ERROR CLASS>, text: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, duration: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, action: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, listener: (<ERROR CLASS>) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) |

### Inherited Functions

| Name | Summary |
|---|---|
| [show](../-context-menu-candidate/-snackbar-delegate/show.md) | `abstract fun show(snackBarParentView: <ERROR CLASS>, text: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, duration: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, action: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = 0, listener: (<ERROR CLASS>) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Displays a snackbar. |
