ChristopheVersieux/HoloEverywhere — pull request #329 by croemmich (2013-03-02 17:22:24+00:00)
Title: Add new method setDismissOnButtonClick(boolean) to AlertDialog and AlertDialog.Builder

An annoyance of AlertDialogs is the inability to prevent the dismissal of the dialog on button click without using convoluted means to set the button click listener directly. This simply prevents the generated OnClickListener for the button from sending the dismiss message when a flag is set. The default is to dismiss the dialog on button click to maintain current functionality.