title: How to get json array name if match with condition
body: <p>I'm first storing JSON array "date" in arratstring and match my date with list if is match then show "title" name of that date  after this line    <code>if (Vacation_Date.contains(mydate)) {</code></p>
  
  <p>I want to print only that value which is match that date title name in textview what will I do help me please</p>
  
  <pre><code>static ArrayList&lt;Long&gt; Vacation_ID = new ArrayList&lt;Long&gt;();
  static ArrayList&lt;String&gt; Vacation_name = new ArrayList&lt;String&gt;();
  static ArrayList&lt;String&gt; Vacation_Date = new ArrayList&lt;String&gt;();
           JSONObject json3 = new JSONObject(str2);
          status = json3.getString("status");
          if (status.equals("1")) {
          JSONArray school = json3.getJSONArray("data");
          for (int k = 0; k &lt; school.length(); k++) {
              JSONObject jb = (JSONObject) school.getJSONObject(k);
              Vacation_ID.add((long) k);  
                      Vacation_Date.add(jb.getString("date"));
              }
          }
  </code></pre>
  
  <p>Strong array "date" from json file  in <code>Vacation_Date</code>. Now i m comparing my date with Vacation_Date and check my date if exist in Vacation_Date and show its title name in textview.</p>
  
  <pre><code>if (Vacation_Date.contains(mydate))     
  </code></pre>
  
  <p>//now what i do to show title name of match date</p>
  
  <pre><code>textview.settext ("title name of match date")'
   }
  </code></pre>
  
  <p>JSON</p>
  
  <pre><code>{"status":1,
  "data":
  [
      {"id":"1",
      "title":"abc",
      "date":"2013-09-29"},
  
      {"id":"2",
      "title":"abc1",
      "date":"2013-09-25"},
  
      {"id":"3",
      "title":"abc",
      "date":"2013-10-05"},
  
      {"id":"4",
      "title":"abc1",
      "date":"2013-09-27"}
  ]
  }
  </code></pre>