while learning the difference between multi-threading and Concurrency.i follow this stackoverflow answer according to my understanding AsyncTask is just used to on or off the use of main thread{ui thread} while events like http request or fetching data from database. and after task is done main thead is reallocated to the event by AsyncTask task. but Android Official says "An asynchronous task is defined by a computation that runs on a background thread and whose result is published on the UI thread"
now i am confused.
- android use multi-theading its just wrapper class for thread management.
- C# async and await is diffrent concept.