title: ListView's OnItemClick does not work
body: <p>I made a listview.
  Using <a href="http://www.framentos.com/en/android-tutorial/2012/07/16/listview-in-android-using-custom-listadapter-and-viewcache/" rel="nofollow">this</a> tutorial link 
  It works fine.
  But the problem is when i try to add onitemclick listener in its activity class the click action does not work.i just want to show a toast message.And here it the code for onItemClickListener</p>
  
  <pre><code>listViewCity.setOnItemClickListener(new OnItemClickListener() {
                  @Override
                  public void onItemClick(AdapterView&lt;?&gt; a, View v, int position, long id) { 
  
                      String item = ((TextView)v).getText().toString();
  
                      Toast.makeText(getApplicationContext(), item, Toast.LENGTH_LONG).show();
  
              }  
          });
  </code></pre>
  
  <p>Why it doesn't work anybody can tell me???</p>