set Text Action Button
fun setTextActionButton(@StringRes resId: Int, listener: DeweySnackbar.OnClickListener?): DeweySnackbar
Set the action to be displayed in this DeweySnackbar.
Parameters
res Id
String resource to display for the action
listener
callback to be invoked when the action is clicked
fun setTextActionButton(text: CharSequence?, listener: DeweySnackbar.OnClickListener?): DeweySnackbar
Set the action to be displayed in this DeweySnackbar.
Parameters
text
Text to display for the action
listener
callback to be invoked when the action is clicked