I would like to better understand what happens to a
Thread or a
AsyncTask when activity is destroyed.
So in this scenario, a
AsyncTask would be started from activity, and user hits home button and
onDestroy gets called triggering GC before either Thread of AsyncTask had a chance to finish.
Which one is more likely to run till completion in this scenario
Thread/Runnable or an