I really liked the part where Brad Fitzpatrick explains what the difference is between an AsyncTask and IntentService :
- AsyncTask : for non blocking "fire and forget" operations outside of the UI Thread (the OS may kill the AsyncTask upon certain conditions and the task may not be able to finish its job)
- IntentService : use for non blocking operations that must not be interrupted outside of the UI Thread
Aucun commentaire:
Enregistrer un commentaire