setText

@CanIgnoreReturnValue
open fun setText(@NonNull message: CharSequence): Snackbar

Update the text in this Snackbar.

Parameters

message

The new text for this BaseTransientBottomBar.


@CanIgnoreReturnValue
open fun setText(@StringRes resId: Int): Snackbar

Update the text in this Snackbar.

Parameters

resId

The new text for this BaseTransientBottomBar.