setNegativeButton

Set a listener to be invoked when the negative button of the dialog is pressed.

Return

This Builder object to allow for chaining of calls to set methods

Parameters

textId

The resource id of the text to display in the negative button


Set a listener to be invoked when the negative button of the dialog is pressed.

Return

This Builder object to allow for chaining of calls to set methods

Parameters

text

The text to display in the negative button