I believe Google suggests developers to use AsyncTask. However, I would like to know how is it different from using \'new Thread\' and then calling \'RunOnUiThread\' in perf
According to this, AsyncTask
is easier to use, but has some limitations like the following:
Thread
Also there will be another difference that I haven't figured out. You can find and inspect full source code of AsyncTask since Android is opensource :-)
Have a good time with coding in Android!