SnackbarHelper

Functions

Link copied to clipboard
fun showSnackbar(    act: Activity?,     message: UiText,     duration: Int = Snackbar.LENGTH_SHORT,     actionText: UiText? = null,     actionCallback: () -> Unit? = null)
fun showSnackbar(    act: Activity?,     @StringRes message: Int,     duration: Int = Snackbar.LENGTH_SHORT,     @StringRes actionText: Int? = null,     actionCallback: () -> Unit? = null)
fun showSnackbar(    act: Activity?,     message: String?,     duration: Int = Snackbar.LENGTH_SHORT,     actionText: String? = null,     actionCallback: () -> Unit? = null)