-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Use RxJava instead of AsyncTask. #4499
Use RxJava instead of AsyncTask. #4499
Conversation
171a8c9
to
4535cb0
Compare
Could you fix the Checkstyle error: |
4535cb0
to
5e2c67d
Compare
Done.
The license fragment doesn't appear to have any issues. I'll upload a test APK. |
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.
Looks mostly good to me, thank you!
5e2c67d
to
d3c8ac3
Compare
38ec288
to
f08ac8a
Compare
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.
Every time you call subscribe()
you obtain a Disposable
which should be saved somewhere, because it has to be dispose()
d when the activity/app closes.
app/src/main/java/org/schabi/newpipe/CheckForNewAppVersion.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/CheckForNewAppVersion.java
Outdated
Show resolved
Hide resolved
app/src/main/java/us/shandian/giga/ui/adapter/MissionAdapter.java
Outdated
Show resolved
Hide resolved
b55a57e
to
eb629ca
Compare
app/src/main/java/org/schabi/newpipe/about/LicenseFragmentHelper.java
Outdated
Show resolved
Hide resolved
eb629ca
to
34c24f9
Compare
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.
Code looks good to me, and it also solves many leaks. Could you provide an updated APK? Thank you ;-)
I uploaded a new APK. |
34c24f9
to
3b69e0d
Compare
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.
Everything works as expected. Thank you!
What is it?
Description of the changes in your PR
AsyncTask
to execute asynchronous code, asAsyncTask
has been deprecated starting with API level 30.Testing apk
debug.zip
Agreement