title: How to get data from JSONobject and display it into a listview?
body: <p>This is my JSON   </p>
  
  <pre><code>{
      "data": [
          {
              "id": 1,
              "Name": "Choc Cake",
              "Image": "1.jpg",
              "Category": "Meal",
              "Method": "",
              "Ingredients": [
                  {
                      "name": "1 Cup Ice"
                  },
                  {
                      "name": "1 Bag Beans"
                  }
              ]
          },
          {
              "id": 2,
              "Name": "Ice Cake",
              "Image": "dfdsfdsfsdfdfdsf.jpg",
              "Category": "Meal",
              "Method": "",
              "Ingredients": [
                  {
                      "name": "1 Cup Ice"
                  }
              ]
          }
      ]
  }
  </code></pre>
  
  <p>Now I am trying to display it into a listView how would I do that this is what i have right now (for testing purposes i am just trying to display all the names in a toast)</p>
  
  <pre><code>JSONObject jsonObj = new JSONObject(jsonStr);
  int length = jsonObj .length(); 
  
  for(int i=0; i&lt;length; i++) {
      Toast.makeText(this, jsonObj.getJSONArray("data").
          getJSONObject(i).getString("Name"), Toast.LENGTH_LONG).show();
  } 
  </code></pre>
  
  <p>The Above code only display one name and not multiple names. How can I make it for multiple names?</p>