From 3229050a50c92341f210c6bff320cbdfbfde0523 Mon Sep 17 00:00:00 2001 From: jacques Date: Tue, 28 Apr 2020 22:36:21 +0200 Subject: [PATCH] Add save into database (not tested) --- .../main/java/net/foucry/pilldroid/MedicamentListActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/foucry/pilldroid/MedicamentListActivity.java b/app/src/main/java/net/foucry/pilldroid/MedicamentListActivity.java index a046bae..3395e2c 100644 --- a/app/src/main/java/net/foucry/pilldroid/MedicamentListActivity.java +++ b/app/src/main/java/net/foucry/pilldroid/MedicamentListActivity.java @@ -232,7 +232,7 @@ public class MedicamentListActivity extends AppCompatActivity { public void newStockCalculation() { Medicament currentMedicament; - DBHelper dbHelper = new DBHelper(); + //DBHelper DBHelper dbHelper; for (int position = 0 ; position < this. getCount() ; position++ ) { currentMedicament = this.getItem(position);