empty constructor in progressdialog

This commit is contained in:
Milos Kozak 2016-08-13 15:07:57 +02:00
parent d85bb7db4d
commit 129c88478f
2 changed files with 6 additions and 2 deletions

View file

@ -30,10 +30,14 @@ public class BolusProgressDialog extends DialogFragment implements View.OnClickL
TextView stopPressedView;
ProgressBar progressBar;
double amount;
static double amount;
boolean started = false;
public BolusProgressDialog() {
super();
}
public BolusProgressDialog(double amount) {
this.amount = amount;
}

View file

@ -38,7 +38,7 @@ public class NewTreatmentDialog extends DialogFragment implements OnClickListene
Handler mHandler;
public static HandlerThread mHandlerThread;
Context parentContext;
Context parentContext = null;
public NewTreatmentDialog(Context context) {
mHandlerThread = new HandlerThread(NewTreatmentDialog.class.getSimpleName());