Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
convert AsyncTasks to IntentService #472
We discussed with some Android experts and they agree with this issue, and claim that AsyncTask can be considered only for short tasks (less than 1 second). However, using IntentService (or AsyncTaskLoader) can avoid such problems since their lifecycles are independent from
I refactored 3 AsyncTasks in
@yulin2 Thanks for this, I'll hopefully be able to review in the next few weeks.
I'm spending more time on another project these days - would you be able to run your refactoring tool on the develop branch of the below repo and open a PR there?
I'd likely be able to review that sooner, and it may fit in with some other changes I plan to make there.