Skip to content

Instantly share code, notes, and snippets.

@yishai-glide
Created October 18, 2016 17:48
Show Gist options
  • Save yishai-glide/6798ce72a36362c87f1265d1d00b3857 to your computer and use it in GitHub Desktop.
Save yishai-glide/6798ce72a36362c87f1265d1d00b3857 to your computer and use it in GitHub Desktop.
final AlertDialog dialog = builder.create();
dialog.setOnShowListener( new OnShowListener() {
@Override
public void onShow(DialogInterface arg0) {
dialog.getButton(AlertDialog.BUTTON_POSITIVE);
dialog.getButton(AlertDialog.BUTTON_NEGATIVE);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment