-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attachment widget clear preview if no answer #1828
Attachment widget clear preview if no answer #1828
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please also write unit or android tests if possible?
thanks!
...va/com/google/android/fhir/datacapture/views/QuestionnaireItemAttachmentViewHolderFactory.kt
Outdated
Show resolved
Hide resolved
Sure. doing test |
…-fix-attachment-widget-clear-preview-if-no-answer
…er' of github.com:opensrp/android-fhir into 1821-bug-fix-attachment-widget-clear-preview-if-no-answer
@santosh-pingle kindly do another review |
...va/com/google/android/fhir/datacapture/views/QuestionnaireItemAttachmentViewHolderFactory.kt
Outdated
Show resolved
Hide resolved
...va/com/google/android/fhir/datacapture/views/QuestionnaireItemAttachmentViewHolderFactory.kt
Outdated
Show resolved
Hide resolved
...oid/fhir/datacapture/views/QuestionnaireItemAttachmentPickerViewHolderFactoryEspressoTest.kt
Outdated
Show resolved
Hide resolved
@jingtang10 this is ready for another review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! @FikriMilano, it looks ok to me, others can please review it.
...oid/fhir/datacapture/views/QuestionnaireItemAttachmentPickerViewHolderFactoryEspressoTest.kt
Outdated
Show resolved
Hide resolved
...oid/fhir/datacapture/views/QuestionnaireItemAttachmentPickerViewHolderFactoryEspressoTest.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @FikriMilano for fixing and thanks @santosh-pingle for taking a look!
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #1821
Description
Clear preview if no answer
Alternative(s) considered
N/A
Type
Choose one: Bug fix
Screenshots (if applicable)
device-2023-01-25-152610.webm
Checklist
./gradlew spotlessApply
and./gradlew spotlessCheck
to check my code follows the style guide of this project../gradlew check
and./gradlew connectedCheck
to test my changes locally.