title: how to set parameters to volley request (GET request )?
body: <p>I have a volley request with type GET , I want to pass it the number of page and numbers of posts in each page but it doesnt react to my parameter  , here is my request :</p>
  
  <p>(By the way , when I use getParams and getHeaders functions , it wont to anything too)</p>
  
  <pre><code> CustomRequest2 recListReq = new CustomRequest2(Constants.Posts +"?page="+count+"&amp;per_page=1&amp;categories=52" , new Response.Listener&lt;JSONArray&gt;() {
      @Override
      public void onResponse(JSONArray response) {
          Gson gson = new Gson();
  ...
  </code></pre>
  
  <p>and it is my CustomRequest :</p>
  
  <pre><code>public class CustomRequest2 extends JsonRequest&lt;JSONArray&gt; {
  /**
   * Creates a new request.
   * @param url URL to fetch the JSON from
   * @param listener Listener to receive the JSON response
   * @param errorListener Error listener, or null to ignore errors.
   */
  public CustomRequest2(String url, Listener&lt;JSONArray&gt; listener, ErrorListener errorListener) {
      super(Request.Method.GET, url, null, listener, errorListener);
  }
  @Override
  protected Response&lt;JSONArray&gt; parseNetworkResponse(NetworkResponse response) {
      try {
          String jsonString =
                  new String(response.data, HttpHeaderParser.parseCharset(response.headers));
          return Response.success(new JSONArray(jsonString),
                  HttpHeaderParser.parseCacheHeaders(response));
      } catch (UnsupportedEncodingException e) {
          return Response.error(new ParseError(e));
      } catch (JSONException je) {
          return Response.error(new ParseError(je));
      }
  }
  }
  </code></pre>