make

fun make(view: View, text: CharSequence, duration: Int): BpkSnackbar
fun make(view: View, @StringRes text: Int, duration: Int): BpkSnackbar

Creates a new Snackbar instance using the given text and duration. view is used for accessing the themed context and hierarchy, to decide where to render the Snackbar

Parameters

view

the view to render the snackbar

text

the snackbar message

duration

the snackbar duration

See also