]> iEval git - unical.git/blob - src/ro/ieval/unical/DeleteEventDialog.java
Fix the three get functions
[unical.git] / src / ro / ieval / unical / DeleteEventDialog.java
1 package ro.ieval.unical;
2
3 import android.app.AlertDialog;
4 import android.app.Dialog;
5 import android.app.DialogFragment;
6 import android.content.DialogInterface;
7 import android.os.Bundle;
8
9 public final class DeleteEventDialog extends DialogFragment {
10 @Override
11 public Dialog onCreateDialog(final Bundle savedInstanceState) {
12 final AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
13 builder.setMessage(R.string.askdeleteevent)
14 .setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {
15 public void onClick(final DialogInterface dialog, final int id) {
16 }
17 })
18 .setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {
19 public void onClick(final DialogInterface dialog, final int id) {
20 // User cancelled the dialog
21 }
22 });
23 return builder.create();
24 }
25 }
This page took 0.045555 seconds and 4 git commands to generate.