I have a class where I have an inner asynctask class which performs json parsing. I have called that asynctask class and sucessfully done parsing and shown in a list view. Now based on an ID(product id) in that list view I have to show images in the very same list view corresponding to that products. For that another url has to be fired and parsing has to be done. So I have stored all the product id's in a array list and based on that i am doing
for(int z=0;z<Prdtspcl_pid.size();z++){
String s=Prdtspcl_pid.get(z).toString();
String spclurl=url to be fired+s;
MySpclMethod msm2= new MySpclMethod(spclurl);
msm2.execute();
}
where prdt_pid
is my product_id,and MySpclMethod
is another inner asynctask class for image parsing.
Now what should I do & where should I call the second asynctask class?