-
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
Merge multiple versions of audio_language_fragment.xml #3997
Merge multiple versions of audio_language_fragment.xml #3997
Conversation
…d set click listeners in AudioLanguageActivityPresenter
…om xml and Presenter
… and use resolution specific dimens.xml to separate dimensions
@jashasweejena Apologies for the delay. Have you received any welcome email from a team-member? Have you been assigned a mentor yet? |
Hey @rt4914, actually I haven't received any welcome mail yet nor have I been assigned a mentor. |
@jashasweejena Have you followed the steps mentioned here? Mainly survey form and CLA. |
Yeah surely. Thanks for mentioning it. I'll make sure to fill those up. |
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.
@jashasweejena Added few comments.
@bkaur-bkj PTAL and please verify that the functionality is correct.
app/src/main/java/org/oppia/android/app/options/AudioLanguageActivityPresenter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/android/app/options/AudioLanguageActivityPresenter.kt
Show resolved
Hide resolved
Hey @rt4914, thanks for the helpful comments. I will fix them asap. |
@rt4914 yes sir it works fine on phone, though not much aware of the databinding changes that needs to be done , so pls you just have a view over it. |
Hey @rt4914, I completed the mentioned changes and pushed the code. |
@jashasweejena make sure you assign the reviewer and unassign yourself after completing your work |
@jashasweejena you can just write PTAL @Reviewer |
@jashasweejena link checks are failing maybe there is some indentation or spacing issue PTAL over it |
@rt4914 PTAL |
Thanks for informing. I'll take care next time onwards. |
Yeah sure, will take a look over it. |
Unassigning @jashasweejena since a re-review was requested. @jashasweejena, please make sure you have addressed all review comments. Thanks! |
@rt4914 @bkaur-bkj Fixed the Ktlint issues. PTAL. Thanks. |
@bkaur-bkj Will review it once you have approved it. Thanks. |
app:layout_constraintTop_toBottomOf="@id/reading_list_app_bar_layout" /> | ||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
|
||
</layout> |
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.
@jashasweejena here you need to add a newline, as it says no newline at end of file. Just take cursor to last line and press enter
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.
Fixed this in the latest commit. Thanks.
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 sir, as per my trial it works thus approving it from myside, PTAL.
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.
@jashasweejena Minor changes suggested. Otherwise LGTM.
@@ -12,7 +14,16 @@ class AudioLanguageActivityPresenter @Inject constructor(private val activity: A | |||
private lateinit var prefSummaryValue: String | |||
|
|||
fun handleOnCreate(prefKey: String, prefValue: String) { | |||
activity.setContentView(R.layout.audio_language_activity) | |||
val binding = AudioLanguageActivityBinding.inflate(activity.layoutInflater, null, false) |
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.
Instead of this, use DataBindingUtil
to use setContentView
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.
Refactored this to use DataBindingUtil and pushed the code.
Thanks
@jashasweejena Please merge with latest develop too. |
Done with the changes. PTAL @rt4914. Thanks |
Unassigning @jashasweejena since a re-review was requested. @jashasweejena, please make sure you have addressed all review comments. Thanks! |
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, thanks.
Unassigning @rt4914 since they have already approved the PR. |
Hi. As of today, some main reviewers have taken time off for the next few weeks, so it may take a little while before we can look at this PR. We appreciate your patience while some of our team members recharge. We'll be fully returning on 4 January 2021. |
Hi @jashasweejena, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue. |
Explanation
Fixes #3462 :
audio_language_fragment.xml
and put the resolution-specific values into their respective dimens.xml files.audio_language_fragment.xml
toaudio_language_activity.xml
Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then:
Screenshots