setPositiveButton

Sets an Action with Action.Style.POSITIVE. If one already exists it will be replaced.

Return

The modified Alert.Builder

Parameters

title

The title of the button

handler

The block to execute after user taps a button