-
Notifications
You must be signed in to change notification settings - Fork 293
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
Complete Question is shown now as TextView with Dropdown #272
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.
Good work ! Just a few comments and please fix the Unit tests too.
...java/com/google/android/fhir/datacapture/views/QuestionnaireItemDropDownViewHolderFactory.kt
Outdated
Show resolved
Hide resolved
datacapture/src/main/res/layout/questionnaire_item_drop_down_view.xml
Outdated
Show resolved
Hide resolved
Thanks @MuhammadSalman-7214. Please address @joiskash 's comment and I will approve. Additionallly, I think you'll need to fix this for the edit text layout as well: https://github.com/google/android-fhir/blob/master/datacapture/src/main/res/layout/questionnaire_item_edit_text_view.xml Can be done in a follow-up PR. |
sure, will complete @joiskash comments and then push the PR |
thanks! please let the reviewers know once you're done. also just a note, you won't be able to merge the PR until it is 1) approved by one the code owners and 2) all checks are passing. |
Changes done @jingtang10 and @joiskash. Both of you can review the changes. |
viewHolder.itemView.findViewById<TextInputLayout>(R.id.dropdown_menu) | ||
.hint | ||
viewHolder.itemView.findViewById<TextView>(R.id.dropdown_question_title) | ||
.text |
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.
same line
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.
okay
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.
Done
@@ -46,7 +46,7 @@ class QuestionnaireItemDropDownViewHolderFactoryInstrumentedTest { | |||
@Before | |||
fun setUp() { | |||
context = ContextThemeWrapper( | |||
InstrumentationRegistry.getInstrumentation().getTargetContext(), | |||
InstrumentationRegistry.getInstrumentation().targetContext, |
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 for fixing this -- can you do this for other files too?
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.
okay
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.
Done
Thanks - just a couple of nits |
@jingtang10 both nits done |
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 @MuhammadSalman-7214!
🚀
your welcome @jingtang10 👍 |
Changes requested have been implemented
No description provided.