setPrimaryButton



Set the primary button text and the listener for the click event. Setting the text to null will hide the button.