title: Android setOnItemClickListener
body: <p>I'm not able to initiate the "<strong>OnItemClickListener</strong>".</p>
  
  <p>You can see my code snippet</p>
  
  <pre><code> ListAdapter adapter = new SimpleAdapter(this, mylist , R.layout.main, new String[] { "title"}, new int[] { R.id.item_title});
      setListAdapter(adapter);
  
      final ListView lv = getListView();
      lv.setTextFilterEnabled(true);
  
      lv.setOnItemClickListener(new OnItemClickListener() {
          public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {              
              @SuppressWarnings("unchecked")
              HashMap&lt;String, String&gt; o = (HashMap&lt;String, String&gt;) lv.getItemAtPosition(position);                   
              Toast.makeText(TopNewsActivity.this, "ID '" + o.get("id") + "' was clicked.", Toast.LENGTH_LONG).show(); 
  
          }
      });
  </code></pre>
  
  <p>after the setListAdapter my debugger goes to "<strong>lv.setOnItemClickListener</strong>" but then does not get into the loop and moves out.</p>
  
  <p>I want to make the links Clickable kindly help.</p>