Closed yatiksihag01 closed 10 months ago
It used AsyncTask?? Sweet mother of god! Thank you @yatiksihag01
@soshial 97% of the code is still in Java, so the use of AsyncTask is expected. The app has a great UI and good features, but the project needs to be migrated to Kotlin following proper architecture guidelines to reduce complexity and improve performance.
@yatiksihag01 So I've been testing out the PR, and here's a few things the I noticed.
NullPointerException
These were my initial impressions before any in-depth testing, so feel free to update me. Also, the build was compared against the release/2.3.2 build.
@itsdrnoob Thanks for your feedback. Sorry I'm a bit busy for few days, but I'll review and address the issues as soon as possible.
@yatiksihag01 No worries. I'll just keep the PR open for the time being. I've updated the base branch to dev/2.4.0. Please make sure to fetch the latest changes to avoid any merge conflicts.
Thanks. Don't worry I'll fetch the latest changes to prevent any potential merge conflicts.
Hi @itsdrnoob, I'm closing this PR and opening a new one as I've rebased this branch onto dev/2.4.0
MainActivity.java
andAppDataUsageFragment.java
to Kotlin.DataUsageViewModel.kt
andUsageDataHelperImpl.kt
.UsageDataAdapter.kt
usingAsyncListDiffer
and moved click listeners intoAppDataUsageFragment.kt
, which will improve efficiency.AsyncTask
operations with Kotlin coroutines, significantly decreasingAppDataUsageFragment.kt
loading time.