Friday, 15 February 2013

android - Volley : adding array of request to queue -



android - Volley : adding array of request to queue -

i'm putting volley requests array , i' using for statement adding request volley queue (pseudo code) :

arraylist<requst> array = new arraylist<requst>() volleyrequest req = //some code volleyrequest req2 = //some code array.add(req) array.add(req2)

and on class i'm using :

for(requst r : array ) { volley.newrequestqueue.add(req, tag); }

but loop did not go on until first request not finished! should do? there way adding array of requests volley without loop?

use singleton pattern add together multiple request in volley library specified in link

android android-volley

No comments:

Post a Comment