This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class DialogFactory { | |
public static Dialog createSimpleOkErrorDialog(Context context, String title, String message) { | |
AlertDialog.Builder alertDialog = new AlertDialog.Builder(context) | |
.setTitle(title) | |
.setMessage(message) | |
.setNeutralButton(R.string.dialog_action_ok, null); | |
return alertDialog.create(); | |
} |
NewerOlder