forked from google/android-fhir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change areItemsTheSame to check if internal objects are the same with…
… === (google#1185) * Call onAnswerChanged Callback instead of questionnaireResponseCHangeCallback * Remove unnecessary questionnaireResponseItemChangedCallback since onAnswerChanged calls this internally * questionnaireResponseItem has to be a variable since we clear answers which may contain nested questionnaireReponseItems * Reverted change from val to var and added override for equals function * Changed areItemsTheSame to check internal objects * Added UTs to check the overridden equals function for questionnaireItemViewItem * Update comments Co-authored-by: Jing Tang <[email protected]> * Add new equalsDeep function for questionnaireItemViewItem * Early return and feedback in code comments Co-authored-by: Jing Tang <[email protected]>
- Loading branch information
1 parent
e6bb4c4
commit f31f5b7
Showing
5 changed files
with
73 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters