title: Android listview adapter in listview (json children)
body: <p>Sorry.... I'm new in android....</p>
  
  <p>I have done such schema: 
  i created listview in my activity, and put on it adapter with own activity as in all tutorials...</p>
  
  <p>But now i must to go further and create more complicated activity: on every my listview adapter view i must put another loop with data => other listview with adapter...  Is it real?</p>
  
  <p>Here is my code(i do it in education goal):</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
          String bank;
          bank = this.getIntent().getStringExtra("Bank_id");
          url = "http://192.168.1.4:3000/exchanger_lists/get_bank_exchanger_list/"+bank+".json";
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_bank_exchangers_list);
  
          // Hashmap for ListView
          ArrayList&lt;HashMap&lt;String, String&gt;&gt; contactList = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();
  
          // Creating JSON Parser instance
          JSONParser jParser = new JSONParser();
  
          // getting JSON string from URL
          JSONObject json = jParser.getJSONFromUrl(url);
  
          try {
              // Getting Array of Contacts
              banks = json.getJSONArray(TAG_Exchangers);
  
              // looping through All Contacts
              for(int i = 0; i &lt; banks.length(); i++){
                  JSONObject c = banks.getJSONObject(i);
  
                  // Storing each json item in variable
                  String id = c.getString(TAG_ID);
                  String name = c.getString(TAG_NAME);
                  String address = c.getString(TAG_address);
                  String location_name = c.getString(TAG_location_name);
                  String latitude = c.getString(TAG_latitude);
                  String longitude = c.getString(TAG_longitude);
                  String exchanger_type_name = c.getString(TAG_exchanger_type_name);
  
                  HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
  
  
                  map.put(TAG_ID, id);
                  map.put(TAG_NAME, name);
                  map.put(TAG_address, address);
                  map.put(TAG_location_name, location_name);
                  map.put(TAG_latitude, latitude);
                  map.put(TAG_longitude, longitude);
                  map.put(TAG_exchanger_type_name, exchanger_type_name);
  
  
                  // adding HashList to ArrayList
                  contactList.add(map);
              }
          } catch (JSONException e) {
              e.printStackTrace();
          }
  
  
          ListAdapter adapter = new SimpleAdapter(this, contactList,
                  R.layout.bank_exchanger_list_element,
                  new String[] { TAG_NAME, TAG_location_name, TAG_address, TAG_exchanger_type_name, TAG_latitude, TAG_longitude }, new int[] {
                          R.id.bank_e_n, R.id.nas_punkt_e_n , R.id.adress_obm_e_n , R.id.tip_obm_e_n , R.id.shirota_e_n , R.id.dolgota_e_n });
  
          setListAdapter(adapter);
      }
  </code></pre>
  
  <p>i need to parse json children for each TAG_Exchangers  and add in as an adapter for adapter listAdapter adapter = new SimpleAdapter(this, contactList, .......</p>
  
  <p>Is it real? And how to do it?</p>