Why not do something like this:
// send first request
requestQueue.add(firstRequest, null, new Listener<JSONObject>() {
@Override
public void onResponse(JSONObject response) {
// ** code to parse response **
// send second request
requestQueue.add(secondRequest, null, new Listener<JSONObject>() {
@Override
public void onResponse(JSONObject response) {
// ** code to parse response **
}
}, new ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
// ** code to handle errors **
}
}));
}
}, new ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
// ** code to handle errors **
}
}));