sesl Make
open fun seslMake(@NonNull view: View, @NonNull text: CharSequence, duration: Int, type: Int): Snackbar
Makes a SESL Snackbar using the default blur settings and type.
Parameters
view
The view to find a parent from.
text
The text to show. Can be formatted text.
duration
How long to display the message.
type
Set either SESL_SNACKBAR_TYPE_DEFAULT or SESL_SNACKBAR_TYPE_SUGGESTION.
open fun seslMake(@NonNull view: View, @NonNull text: CharSequence, duration: Int, type: Int, disableBlur: Boolean, blurMode: Integer): Snackbar
Makes a SESL Snackbar with configurable blur settings.
Parameters
view
The view to find a parent from.
text
The text to show. Can be formatted text.
duration
How long to display the message.
type
Set either SESL_SNACKBAR_TYPE_DEFAULT or SESL_SNACKBAR_TYPE_SUGGESTION.
disable Blur
true to disable blur effects, false otherwise.
blur Mode
The blur mode to apply.