Android: how to set click events on ListView?
- by Capsud
Hey there,
I'm looking to be able to open up a new view or activity when I click on an item in my ListView.
Currently I have a list of restaurants, and when i click on a particular restaurant I want it to open up another screen that will show its address, google map etc.
What I need help with is knowing how to set click events on the items in the list.
At the moment I dont have a database of the items, they're just Strings.
Can someone help me with getting me to this stage?
Thanks alot.