I'm trying to set on OnItemClickListener for a ListView
Whenever
s.setOnItemClickListener(OnItemClicksitelist);
runs I get the wonderful "has stopped unexpectedly" error
I've allready set the adapter on s without any issues and it works
when I don't have the click listener defined (namely it displays the
items)
The listener is as follows
private OnItemClickListener OnItemClicksitelist = new OnItemClickListener(){
public void onItemClick(AdapterView<?> arg0, View arg1, int
arg2,
long arg3) {
....
}
}
Any suggestions about what I might be doing wrong?
--
Cell : 226-747-0683
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---