File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
demo/src/main/java/com/google/android/fhir/demo Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2021-2023 Google LLC
2
+ * Copyright 2021-2025 Google LLC
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -37,7 +37,11 @@ class PatientItemRecyclerViewAdapter(
37
37
override fun areContentsTheSame (
38
38
oldItem : PatientListViewModel .PatientItem ,
39
39
newItem : PatientListViewModel .PatientItem ,
40
- ): Boolean = oldItem.id == newItem.id && oldItem.risk == newItem.risk
40
+ ): Boolean =
41
+ oldItem.id == newItem.id &&
42
+ oldItem.risk == newItem.risk &&
43
+ oldItem.name == newItem.name &&
44
+ oldItem.dob == newItem.dob
41
45
}
42
46
43
47
override fun onCreateViewHolder (parent : ViewGroup , viewType : Int ): PatientItemViewHolder {
You can’t perform that action at this time.
0 commit comments