Merge remote-tracking branch 'origin/feature/saveDrugs' into feature/saveDrugs

This commit is contained in:
jacques 2020-05-03 15:16:00 +02:00
commit 17eef9102f

View file

@ -28,10 +28,6 @@ import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
//import com.google.android.gms.appindexing.Action;
//import com.google.android.gms.appindexing.AppIndex;
//import com.google.android.gms.common.api.GoogleApiClient;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Collections;
@ -130,7 +126,7 @@ public class MedicamentListActivity extends AppCompatActivity {
final int max_stock=50;
final int min_prise=0;
final int max_prise=3;
dbHelper.addDrug(new Medicament("60000011", "3400930000011", "Médicament test 01", "orale",
"plaquette(s) thermoformée(s) PVC PVDC aluminium de 10 comprimé(s)",
intRandomExclusive(min_stock, max_stock), intRandomExclusive(min_prise, max_prise), 14, 7));