-
Notifications
You must be signed in to change notification settings - Fork 521
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
Fix #877: Lowfi FAQSingleActivity #878
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.
@rt4914 Please rename FAQ to FAQs/FAQList if its focusing on more than one. for example FAQActivity,FAQFragment, Test classes, layouts, also in comments.. Please assign me back after that.
@@ -21,10 +21,10 @@ class FAQViewModel @Inject constructor( | |||
private fun getRecyclerViewItemList(): ArrayList<FAQItemViewModel> { | |||
val faqHeaderViewModel = FAQHeaderViewModel() | |||
arrayList.add(faqHeaderViewModel) | |||
|
|||
val questions: Array<String> = activity.resources.getStringArray(R.array.faq_questions) |
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.
faq means its question then why we need faq_question, also faqs would be better if more than one in count.
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.
An FAQ is not just a question it is Question + Answer. And therefore faq_question and faq_answer
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.
Of-cause so that you may keep it faq and faq_answer or question and answer..
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.
LGTM
Explanation
Fixes: #877
Mock: https://xd.adobe.com/view/e8aa4198-3940-47f9-514a-f41cc54457f6-9e9b/screen/195a7967-e7f0-4f62-a99c-8fac560e41d8/HL-FAQ-Question-Opened-current-
This PR does not deal with the correct data. The correct data will be added in #850
Checklist