I have someclass which do large network operations and it do take some time to complete,and hence i put it in AsyncTask
.I have to do this process 'n' times so in the main thread using a for
loop i called this asynctask n times.will it throw any error since there is an interrupt in completing the for loop.?
// inside main thread
for(i=0;i<n;i++)
{
new asynctask().execute(new someclass());
}