I am facing an issue regarding the order of exection of AsyncTasks.
My question is :
Assuming I have 2 implementations of AsyncTask : MyAsyncTask1
AsyncTask execute in background so in your case first code will start task1 and immediately start task2.. so call
new MyAsyncTask2 ().execute ();
this in to postexecute of Task1