Commit graph

521 commits

Author SHA1 Message Date
jacques
5825556cbc refactoring and use Utils.sortPrescriptionList
add conditional debug code
2022-06-29 04:58:06 +02:00
jacques
8a218e7467 refactoring and use Utils.sortPrescriptionList 2022-06-29 04:57:26 +02:00
jacques
5110e6b9b8 Create sortPrescriptionList method 2022-06-29 04:56:26 +02:00
jacques
76639d0d82 Make clean after analyze 2022-06-29 04:55:42 +02:00
jacques
54d5abb541 Change iteraror to a for loop 2022-06-26 11:56:06 +02:00
jacques
ea3a4ae374 fix error in AlarmReciver, bug not fixed yet. 2022-06-23 13:33:04 +02:00
jacques
5f4a04fe85 fix error in iterator 2022-06-23 13:32:37 +02:00
jacques
80daeb0923 Add iterator in contructList to change list order (not yet tested) 2022-06-23 11:28:24 +02:00
jacques
c659146d67 Change column name in schema using autoMigration 2022-06-23 11:23:59 +02:00
Jean-Baptiste
962e860584
Fix app_name on values en/fr (#13)
* Fix string fr

* Fix string en

* Fix typos

Co-authored-by: Altonss <66519591+Altonss@users.noreply.github.com>

* Fix typos

Co-authored-by: Altonss <66519591+Altonss@users.noreply.github.com>

Co-authored-by: Altonss <66519591+Altonss@users.noreply.github.com>
2022-06-19 17:38:45 +02:00
jacques
27e96e989e Optimization 2022-06-10 21:47:49 +02:00
jacques
d82b79437d remove android:fitsSystemWindows="true" 2022-06-10 21:46:23 +02:00
jacques
a4d2232b13 Merge branch 'feature/swip_to_remove' into develop 2022-06-10 21:12:45 +02:00
jacques
6b6da51894 Optimizations 2022-06-10 21:12:27 +02:00
jacques
e42626fbfa Optimizations 2022-06-10 21:01:04 +02:00
jacques
024b97751b Add swipoe Right to Left to remove from list and prescription database
Add swipe left to Right to edit prescription detail
2022-06-10 20:55:25 +02:00
jacques
38a6c47ef5 Add pen icon 2022-06-10 20:53:18 +02:00
jacques
5043cda0fd Find a calculation to have same icon size in both swipe direction 2022-06-08 19:01:24 +02:00
jacques
b2f1df6350 Add swipe with icon to delete medic from prescription. The database update is not yet coded 2022-06-08 11:29:43 +02:00
jacques
846f6ecbe9 Remove old comment 2022-06-08 11:28:17 +02:00
jacques
38ec2cb9eb Add undo and french translation 2022-06-08 11:27:57 +02:00
jacques
b78a4acc15 Add trash icon 2022-06-08 11:27:34 +02:00
jacques
097d27c1f3 Make save button more floating. Avoid screen rotation 2022-05-30 22:36:03 +02:00
jacques
d78c4f13ef Change SimpleItemRecyclerView into RecyclerView 2022-05-22 18:49:10 +02:00
Jean-Baptiste
54a79b2514
Update french translation (#9)
* Update metadata FR

* Fix typos

* Update strings FR

* Fix Readme

* Fix
2022-05-11 08:53:55 +02:00
jacques
742d7cbe1f fix AlarmReceiver bug, was still using the hold that should be empty. Use now the room database management 2022-05-04 19:48:19 +02:00
jacques
bbc1f39ebe add comment to see where to change code 2022-05-01 07:05:40 +02:00
jacques
0289e4035f Moving the save button at the bottom of the page. 2022-03-27 21:48:00 +02:00
jacques
a0aa8471c9 optimize import 2022-03-27 18:10:36 +02:00
jacques
891368f5d7 add 2 columns 2022-03-27 18:09:52 +02:00
jacques
7f89c9b5aa Create singleton to access to database 2022-03-27 18:09:19 +02:00
jacques
d6bd1590e8 change a method new;
use singleton for the database access.
2022-03-27 18:08:41 +02:00
jacques
de22e3e756 fixing debug code 2022-03-23 19:54:14 +01:00
jacques
2ed407ba9c MainActivity is a bad idea, but move preparation code in onStart()
Add understood dialog
Add check isScheduled in onPause()
2022-03-23 09:19:11 +01:00
jacques
3199a0abdc Add isScheduled method to avoid schedule notification on each onPause of DrugListActivity. 2022-03-23 09:16:47 +01:00
jacques
8879c6a2ce remove unused code 2022-03-23 09:15:38 +01:00
jacques
821b065397 Add strings for understood 2022-03-23 09:15:19 +01:00
jacques
f80bc97330 Add UnderStood prefs. 2022-03-23 09:14:54 +01:00
jacques
083954e709 Fix error found in code analysis 2022-03-23 09:14:18 +01:00
jacques
e279ef1191 Remove unnecessary cast and optimize import 2022-03-19 10:54:16 +01:00
jacques
df68ee96fe optimize import 2022-03-17 18:32:41 +01:00
jacques
b2f54a81c4 Use drugs tablename 2022-03-17 18:32:41 +01:00
jacques
7f43b84b2e Launch tutorial only in production release 2022-03-17 18:32:41 +01:00
jacques
a8377f6395 Fix typos 2022-03-17 18:32:41 +01:00
jacques
303f849f50 Change Medicine schema 2022-03-17 18:32:41 +01:00
jacques
5572cdcf67 remove TODO annotations 2022-03-17 18:32:41 +01:00
jacques
7b76992998 Refactoring using Medicine and Prescription Room Databases 2022-03-17 18:32:41 +01:00
jacques
a40dd5fe20 Add Medicine Room access 2022-03-17 18:32:41 +01:00
jacques
dcff425d9e add convert method between Medicine and Prescription 2022-03-17 18:32:41 +01:00
jacques
bb173ce762 rename Room Database 2022-03-17 18:32:41 +01:00