title: How to check Volley Request Queue is empty?And Request is finished?
body: <p><strong>How to check Volley Request Queue is empty?And Request is finished?</strong> </p>
  
  <p>After finishing of all requests I am trying to load ui but it's loading before requests response</p>
  
  <pre><code>for (i = 1; i &lt; obj.length; i++) {
  
              String apiString = myGlobalClass.getApiUrl();
              callRequest(apiString);
  
          }
  private  callRequest(String apiString) {
          // TODO Auto-generated method stub
  
          request = new StringRequest(Request.Method.GET, apiString,
                  new Response.Listener&lt;String&gt;() {
  
                      @Override
                      public void onResponse(String response) {
                          // TODO Auto-generated method stub
  
  
                      }
                  }, new Response.ErrorListener() {
  
                      @Override
                      public void onErrorResponse(VolleyError error) {
                          // TODO Auto-generated method stub
  
                      }
                  });
  
  
          queue.add(request);
  
      }
  </code></pre>