title: How to load data to Custom Listview from JSON array
body: <p>I have loaded data to normal list view from JSON array like this</p>
  
  <pre><code> JSONArray jArray = new JSONArray(result);       
   final String[] array_spinner = new String[jArray.length()];
   for(int i=0;i&lt;jArray.length();i++){
       JSONObject json_data = jArray.getJSONObject(i);
       String jj=json_data.getString("f_name");
       array_spinner[i] = jj;
   }
   ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt; (this,  android.R.layout.simple_list_item_1,array_spinner); adapter.setDropDownViewResource(android.R.layout.simple_list_item_1);
   //adapter.setDropDownViewResource(R.layout.spinner_layout);
   list.setAdapter(adapter);
  </code></pre>
  
  <p>I want to load the data to custom listview. 
  my XML file for custom listview is this
  receiver.xml</p>
  
  <p>How can I load data to custom listview from JSON?</p>