How to implement List view with data retrieved from online SQL DB
<pre><code>  JSONArray result = jsonObject.getJSONArray(Config.JSON_ARRAY);


JSONObject collegeData;      
for(int i = 0; i&lt;result.length(); i++){
     collegeData = result.getJSONObject(i);
     name = collegeData.getString(Config.KEY_NAME);
     address = collegeData.getString(Config.KEY_ADDRESS);
     vc = collegeData.getString(Config.KEY_VC);

     // listview logic

} 
</code></pre>

<p>Hey all, so essentially i have got data being retreived from an online SQL database, utilizing volley. I have used list views and spinners before but only with preset defined arrays.</p>

<p>In this case i am abit baffled as to how the above variables would be put in to the list view. Any help / point in the right direction would be much appreciated</p>

<p>Thank you</p>