-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
52 lines (50 loc) · 1.63 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Simplified version of an app for storing medical information and daily stats
HideKeyboard:
activities
fragments
Root
Drawer Navigation:
MainActivity
HomeFragment
MedicationsFragment
UserAdapter:
RecyclerView
Databinding
TextView conditional visibility - hides empty columns
TextView conditional text color - warning red text
RecyclerView item onClickListener navigation to Edit dialog
Fragments
HomeFragment
Databinding
SharedPreferences - display values from MedicationsFragment in TextView header
TextView conditional visibility - hides empty headers
TextView onClickListener
navigation to Add dialog through Floating Access Button (FAB)
snackbar:
screen position or gravity
display TextView value
toast (optional) setGravity not supported in SDK>=29
ActionBar Menu - toast simple message
Add dialog
SharedPreferences - display values from MedicationsFragment in TextView
Button onClickListener:
insert data in database
navigation to HomeFragment
toast simple message
TextView onClickListener:
navigation to MedicationsFragment
toast simple message
Edit dialog
SharedPreferences - display values from MedicationsFragment in TextView
Button onClickListener:
Edits or deletes values from database
navigation to HomeFragment
toast simple message
TextView onClickListener:
navigation to MedicationsFragment
toast simple message
MedicationsFragment
SharedPreferences - display values in multiple fragments and dialogs
TextView onClickListener - toast simple message
TextWatcher applies SharedPreference values
Thanks to all who shared their code and taught me how to do this.