From b285de0c166fc4832b3a3dc72b4644430dd6400d Mon Sep 17 00:00:00 2001 From: Jacques Foucry Date: Tue, 21 Apr 2020 21:35:28 +0200 Subject: [PATCH] Local commit --- .../pilldroid/MedicamentDetailFragment.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/src/main/java/net/foucry/pilldroid/MedicamentDetailFragment.java b/app/src/main/java/net/foucry/pilldroid/MedicamentDetailFragment.java index ac7caa3..4508626 100644 --- a/app/src/main/java/net/foucry/pilldroid/MedicamentDetailFragment.java +++ b/app/src/main/java/net/foucry/pilldroid/MedicamentDetailFragment.java @@ -18,6 +18,7 @@ import android.widget.Toast; * on handsets. */ public class MedicamentDetailFragment extends Fragment { + /** * The fragment argument representing the item ID that this fragment * represents. @@ -119,6 +120,22 @@ public class MedicamentDetailFragment extends Fragment { { Context context = getContext(); Toast.makeText(context, "***PROUT***", Toast.LENGTH_SHORT).show(); + super.onStop(); } + + private void grabNewMedicamentValues() + { + View nameView; + View adminModeView; + View presentationView; + View stockView; + View priseView; + View warningView; + View alertView; + + nameView detailView.findViewById(R.id.name_cell); + medicament.setNom(nameView.getText()); + + } }