Companion

object Companion

Functions

make
Link copied to clipboard
fun make(view: View, duration: Int, bodyText: String, buttonText: String = view.context.getString(R.string.enterprise_dismiss), isMultiline: Boolean = false, animationMode: Int = BaseTransientBottomBar.ANIMATION_MODE_SLIDE, action: View.OnClickListener? = null): EnterpriseSnackbar
Builds the Snackbar and returns an EnterpriseSnackbar instance that can be stored for future use.
makeAndShow
Link copied to clipboard
fun makeAndShow(view: View, duration: Int, bodyText: String, buttonText: String = view.context.getString(R.string.enterprise_dismiss), isMultiline: Boolean = false, animationMode: Int = BaseTransientBottomBar.ANIMATION_MODE_SLIDE, action: View.OnClickListener? = null): EnterpriseSnackbar
Convenience function for make that also calls Snackbar.show.