openedx-unsupported / edx-app-android

The Open edX mobile app for Android!
https://docs.google.com/document/d/15MYZ2LAmahB82P5wkPkQOqjszfou0Qkeae3qz7STxUQ/edit
Apache License 2.0
300 stars 336 forks source link

refactor: Replace AsyncTasks with Kotlin Coroutines #1818

Closed HamzaIsrar12 closed 10 months ago

HamzaIsrar12 commented 10 months ago

Description

LEARNER-9195

The following AsyncTasks have been removed as part of this PR:

Some other fixes along the way:

Testing

codecov[bot] commented 10 months ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (3818ffa) 1.09% compared to head (7dda609) 1.09%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## app_nav #1818 +/- ## ========================================= Coverage 1.09% 1.09% Complexity 137 137 ========================================= Files 541 536 -5 Lines 25882 25819 -63 Branches 3297 3300 +3 ========================================= Hits 284 284 + Misses 25571 25508 -63 Partials 27 27 ``` | [Files Changed](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx) | Coverage Δ | | |---|---|---| | [.../main/java/org/edx/mobile/core/EdxDefaultModule.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2NvcmUvRWR4RGVmYXVsdE1vZHVsZS5rdA==) | `0.00% <0.00%> (ø)` | | | [...main/java/org/edx/mobile/extenstion/TextViewExt.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2V4dGVuc3Rpb24vVGV4dFZpZXdFeHQua3Q=) | `0.00% <0.00%> (ø)` | | | [.../org/edx/mobile/inapppurchases/BillingProcessor.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL2luYXBwcHVyY2hhc2VzL0JpbGxpbmdQcm9jZXNzb3Iua3Q=) | `0.00% <0.00%> (ø)` | | | [...in/java/org/edx/mobile/model/db/DownloadEntry.java](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL21vZGVsL2RiL0Rvd25sb2FkRW50cnkuamF2YQ==) | `0.00% <0.00%> (ø)` | | | [...n/java/org/edx/mobile/repository/AuthRepository.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL3JlcG9zaXRvcnkvQXV0aFJlcG9zaXRvcnkua3Q=) | `0.00% <0.00%> (ø)` | | | [...java/org/edx/mobile/repository/CourseRepository.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL3JlcG9zaXRvcnkvQ291cnNlUmVwb3NpdG9yeS5rdA==) | `0.00% <0.00%> (ø)` | | | [...e/src/main/java/org/edx/mobile/social/ISocial.java](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL3NvY2lhbC9JU29jaWFsLmphdmE=) | `0.00% <ø> (ø)` | | | [...n/java/org/edx/mobile/social/ISocialEmptyImpl.java](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL3NvY2lhbC9JU29jaWFsRW1wdHlJbXBsLmphdmE=) | `0.00% <ø> (ø)` | | | [...c/main/java/org/edx/mobile/social/ISocialImpl.java](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL3NvY2lhbC9JU29jaWFsSW1wbC5qYXZh) | `0.00% <ø> (ø)` | | | [.../java/org/edx/mobile/social/SocialLoginDelegate.kt](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx#diff-T3BlbkVkWE1vYmlsZS9zcmMvbWFpbi9qYXZhL29yZy9lZHgvbW9iaWxlL3NvY2lhbC9Tb2NpYWxMb2dpbkRlbGVnYXRlLmt0) | `0.00% <0.00%> (ø)` | | | ... and [22 more](https://app.codecov.io/gh/openedx/edx-app-android/pull/1818?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openedx) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.