title: how to know if item in listview is pressed/geting listview item from id
body: <p>I have populated a list view. which show up like </p>
  
  <pre><code>123 apple
  456 Linux
  789 windows
  </code></pre>
  
  <p>I have also added onItemClick listener to it and by displaying toast I can check the id of pressed listview. As I have a long list of approx. 1000 items, I want that if item 1 is clicked I should get the listview. some thing like </p>
  
  <pre><code>String clicked_Item = 123 apple. 
  </code></pre>
  
  <p>how can I do it. here is my itm listener. </p>
  
  <pre><code>listView1.setOnItemClickListener(new AdapterView.OnItemClickListener() {
  @Override
  public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1, int arg2,long id) {
  Toast.makeText(getActivity(), "item clicked id="+id, Toast.LENGTH_LONG).show();
  }
  }); 
  </code></pre>