I used to use async tasks
for background tasks but later found out that services
are recommended instead as they have longer life.
Now, reading about fragments
I found out you can use fragments without ui to run background tasks.
I have seen this: Application threads vs Service threads
which only talks about the life-time difference between threads and services.
am confused here! when planning to use background tasks what are the appropriate times when to use services, fragments without UI or the normal java Threads?