Not sure what your issue is...but this is what worked for me.
In main activity init...
final ListView searchResults = (ListView) findViewById
(R.id.list_search_results);
searchResults.setOnItemClickListener(this);
and this DOES get called...
@Override
public void onItemClick(AdapterView<?> parent, View view, int
position, long id) {
listItem = m_adapter.getItem(position);
Log.i(null, listItem.getOrderName());
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---