-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Migrate PluginDetailActivity
to ViewBinding
#20968
Migrate PluginDetailActivity
to ViewBinding
#20968
Conversation
5efa4d6
to
8a13344
Compare
@@ -865,7 +808,7 @@ private void cancelDomainCreditsCheckProgressDialog() { | |||
mCheckingDomainCreditsProgressDialog.cancel(); | |||
} | |||
} | |||
|
|||
@SuppressWarnings("deprecation") // Progress Dialog Deprecation on API 26 |
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.
Reviewer Note :
Do we have any issue which says of migrating the deprecated Progress Dialog to ProgressBar/Notification? If so then should I comment issue number over here for ease in understanding the issue?
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.
Reverting this due to not related to context of the PR.
Quality Gate passedIssues Measures |
CC @ParaskP7 request to review once you are free. |
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.
👋 @neeldoshii !
Thank you so much for your contribution to JP/WPAndroid with this PR! 🥇
I have reviewed and tested this PR as per the instructions, along with triggering CI on it via a draft PR, which I just pushed on the main repo, everything works as expected, good job! 🌟
I have left few minor (🔍) comments for you to consider. I am going to approve this PR anyway, since none is blocking. I am NOT going to merge this PR yet to give you some time to apply any of my suggestions. However, feel free to ignore them and merge the PR yourself.
WordPress/src/main/java/org/wordpress/android/ui/plugins/PluginDetailActivity.java
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/plugins/PluginDetailActivity.java
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/plugins/PluginDetailActivity.java
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/plugins/PluginDetailActivity.java
Outdated
Show resolved
Hide resolved
Thank you for reviewing @ParaskP7 🚀. I have applied the requested changes! 😅
I don't think I have the permission to merge the PR. 😅 |
Thanks for applying my suggestions @neeldoshii ! 🥇
Yea, contributors don't have the permission to merge, but also, I first need to re-trigger CI on the changes you made. Let me do this work and merge this if everything goes well! 👍 |
🎉 @neeldoshii , another contribution in, thanks so much for all your work! 🥇 |
Description
This pull request migrates the
PluginDetailActivity
to use ViewBinding, improving type safety and eliminating the need for findViewById calls.Fixes
findViewById
withViewBinding
#19180Screenshots/ Video
// TODO
Steps to reproduce
Wasabi
build variant.PR Submission Checklist:
RELEASE-NOTES.txt
if necessary.Testing Checklist (strike-out the not-applying and unnecessary ones):