Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard
const val LENGTH_LONG: Int
Link copied to clipboard
const val LENGTH_SHORT: Int

Functions

Link copied to clipboard
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