title: How to fetch json data from an array using volley Library?
body: <p><strong>My json Data</strong> </p>
  
  <pre><code>{"code":1200,"message":"Data Retrieved","data":[{"id":1,"name":"Vangipurapu Venkata Sai Laxman","skills":"Cricketer, Batsman","image":"https:\/\/qph.ec.quoracdn.net\/main-qimg-4f5029c4319b41270f5643d461979645-c"},{"id":2,"name":"Himesh Reshammiya","skills":"music director, singer, producer, lyricist, distributor and actor","image":"https:\/\/starsunfolded-1ygkv60km.netdna-ssl.com\/wp-content\/uploads\/2016\/01\/Himesh-Reshammiya-nasal-singing.jpg"},{"id":3,"name":"Rajkummar Rao","skills":"Indian actor","image":"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcQhShfz5g33MOXBKtLlEXo16uuxEpHFL8NYQE2lg071avavYeKr"},{"id":4,"name":"Pusarla Venkata Sindhu","skills":"badminton player","image":"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcTC0wYTxk72MNx5IADgDDMAqUz9AEyfR6UZexWNqn_fKFNZCLz-"}]}
  </code></pre>
  
  <p>This is my Mainactivity</p>
  
  <p><strong>MainActivity.java</strong></p>
  
  <pre><code>JsonArrayRequest rqst = new JsonArrayRequest(url,
           new Response.Listener&lt;JSONArray&gt;() {
               @Override
               public void onResponse(JSONArray response) {   
                    for (int i = 0; i &lt; response.length(); i++) {
                        try {    
                            JSONObject obj = response.getJSONObject(i);
                            DataSet dataSet = new DataSet();
                            dataSet.setName(obj.getString("name"));
                            dataSet.setImage(obj.getString("image"));                                 
                            dataSet.setSkills(obj.getString("skills"));
                            list.add(dataSet);
                        } catch (JSONException e) {
                            e.printStackTrace();
                        }    
                    }
                    adapter.notifyDataSetChanged();
                }
  </code></pre>
  
  <p>What changes Should i Made to fetch the data? I should fetch that data in to an listview.</p>