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 11/*
2- * Copyright 2021-2023 Google LLC
2+ * Copyright 2021-2025 Google LLC
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -37,7 +37,11 @@ class PatientItemRecyclerViewAdapter(
3737 override fun areContentsTheSame (
3838 oldItem : PatientListViewModel .PatientItem ,
3939 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
4145 }
4246
4347 override fun onCreateViewHolder (parent : ViewGroup , viewType : Int ): PatientItemViewHolder {
You can’t perform that action at this time.
0 commit comments