title: ListView onItemClick only gets the first item
body: <p>I'm trying to get the text of the selected item and show it in a toast message. This is the code I wrote:</p>
  
  <pre><code>final ListView lv = (ListView)findViewById(R.id.firstflightlist);
          lv.setOnItemClickListener(new OnItemClickListener() {
  
          @Override
          public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1, int arg2,
                  long arg3) {
              TextView c = (TextView) arg0.findViewById(arg1.getId());
  
              String text = c.getText().toString();
              Toast.makeText(getApplicationContext(), text, Toast.LENGTH_SHORT).show();               
          }});
  </code></pre>
  
  <p>The listview is a single choice listview. When I click on any item in the list, it always displays the first item of the list. What might be causing this? How can I get the selected item's text?</p>