mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
Change some TODO comments
This commit is contained in:
parent
9a1e25a356
commit
460dca9410
1 changed files with 6 additions and 2 deletions
|
@ -60,6 +60,8 @@ public class MedicamentListActivity extends AppCompatActivity {
|
|||
* Whether or not the activity is in two-pane mode, i.e. running on a tablet
|
||||
* device.
|
||||
*/
|
||||
|
||||
// TODO: Change DEMO/DBDEMO form statci to non-static. In order to create fake data at only at launchtime
|
||||
private boolean mTwoPane;
|
||||
final static Boolean DEMO = true;
|
||||
final static Boolean DBDEMO = true;
|
||||
|
@ -319,10 +321,12 @@ public class MedicamentListActivity extends AppCompatActivity {
|
|||
// Handle cancel
|
||||
Toast.makeText(context, "Scan annulé", Toast.LENGTH_LONG).show();
|
||||
}
|
||||
else {
|
||||
else if (requestCode == 1 ){
|
||||
Toast.makeText(context, "back from detail", Toast.LENGTH_SHORT).show();
|
||||
// TODO : Si requestCode=1 -> Sauvegarde du medoc dans la base et
|
||||
// TODO : raffraichissement de la base.[Call updateDrug(medicament)]
|
||||
}
|
||||
} // TODO : Si requestCode=1 -> Sauvegarde du medoc dans la base et raffraichissement de la base.
|
||||
}
|
||||
}
|
||||
|
||||
private void setupRecyclerView(@NonNull RecyclerView recyclerView) {
|
||||
|
|
Loading…
Reference in a new issue