set Action
@CanIgnoreReturnValue
Set the action to be displayed in this BaseTransientBottomBar.
Parameters
res Id
String resource to display for the action
listener
callback to be invoked when the action is clicked
@CanIgnoreReturnValue
Set the action to be displayed in this BaseTransientBottomBar.
Parameters
text
Text to display for the action
listener
callback to be invoked when the action is clicked