-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfragment2.puml
62 lines (61 loc) · 2.34 KB
/
fragment2.puml
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
53
54
55
56
57
58
59
60
61
62
@startuml
class com.digitalpathology.digi_report.ui.add_report.AddReports {
- LinearLayout uploadBtn
- ImageView uploadedPic
- TextView title
- String picturePath
- EditText reportname
- MedicalReport medicalReportFromAPI
- CardView cvReportDate
- User user
- FirebaseUser firebaseUser
- ConnectionDetector connectionDetector
- FirebaseFirestore clouddb
- DatabaseReference databaseRef
- FirebaseStorage storage
- StorageReference storageRef
- {static} int PICK_IMAGE
- {static} int REQUEST_PERMISSION
- {static} String TAG
+ {static} AddReports newInstance()
+ View onCreateView(LayoutInflater,ViewGroup,Bundle)
+ void onResume()
+ void onActivityCreated(Bundle)
+ void onActivityResult(int,int,Intent)
- void selectImage(Context)
~ String uploadImage(ImageView,User,FirebaseUser)
- void addReport(User)
- String todayDate()
- boolean loadFragment(Fragment)
+ void onRequestPermissionsResult(int,String[],int[])
+ void onDateSet(DatePicker,int,int,int)
- boolean validateFields(String,String,ImageView)
}
class com.digitalpathology.digi_report.ui.add_report.AddReports.GetAddedReportData {
- Context c
- AppCompatActivity activity
- String url
- AlertDialog alertDialog
- String TAG
# void onPreExecute()
# MedicalReport doInBackground(String)
# void onPostExecute(MedicalReport)
- AlertDialog createDialog(Context)
- MedicalReport convertMapToMedicalReport(Map<String,String>,Map<String,String>,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String)
}
class com.digitalpathology.digi_report.ui.my_acc.MyAccountFragment {
- FirebaseFirestore db
- TextView username
- String TAG
+ View onCreateView(LayoutInflater,ViewGroup,Bundle)
+ void onResume()
+ void onActivityCreated(Bundle)
- void removeAllPreferenceData()
+ void onStart()
}
com.digitalpathology.digi_report.ui.add_report.OnDateSetListener <|.. com.digitalpathology.digi_report.ui.add_report.AddReports
androidx.fragment.app.Fragment <|-- com.digitalpathology.digi_report.ui.add_report.AddReports
com.digitalpathology.digi_report.ui.add_report.AddReports +.. com.digitalpathology.digi_report.ui.add_report.AddReports.GetAddedReportData
com.digitalpathology.digi_report.ui.add_report.AsyncTask <|-- com.digitalpathology.digi_report.ui.add_report.AddReports.GetAddedReportData
androidx.fragment.app.Fragment <|-- com.digitalpathology.digi_report.ui.my_acc.MyAccountFragment
@enduml