title: How to pass parameter in JsonArrayRequest from which value fetch from database based on given parameter
body: <p>How to pass parameter in <code>JsonArrayRequest</code> for fetching result based on parameter like fetch result based on email          </p>
  
  <pre><code>ListView listView = findViewById(R.id.listshow);
  final List&lt;String&gt; listItem = new ArrayList&lt;&gt;();
  final ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;&gt;(this, android.R.layout.simple_list_item_1, android.R.id.text1, listItem);
  listView.setAdapter(adapter);
  
  RequestQueue requestQueue = Volley.newRequestQueue(showdetails.this);
  
  JsonArrayRequest objectRequest = new JsonArrayRequest(Request.Method.POST, url, null, new Response.Listener&lt;JSONArray&gt;() {
      @Override
      public void onResponse(JSONArray response) {
  
          //this loop is used to fetch data from object and displayed on list view
          for (int i = 0; i &lt; response.length(); i++) {
              try {
                  JSONObject obj1 = response.getJSONObject(i);
                  String name = obj1.getString("name");
                  String phone = obj1.getString("phone");
  
                  //insert data on listview
                  listItem.add("Name :" + name + "\nPhone" + phone);
  
                  //this line is used for aknowledgement that adapter hold one data
                  adapter.notifyDataSetChanged();
  
              } catch (JSONException e) {
                  e.printStackTrace();
              }
          }
      }
  }, new Response.ErrorListener() {
      @Override
      public void onErrorResponse(VolleyError error) {
  
      }
  });
  requestQueue.add(objectRequest);
  return super.hashCode();
      '''
  </code></pre>