Android: how to set click events on ListView?
Posted
by Capsud
on Stack Overflow
See other posts from Stack Overflow
or by Capsud
Published on 2010-05-24T15:46:20Z
Indexed on
2010/05/24
15:51 UTC
Read the original article
Hit count: 299
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.
© Stack Overflow or respective owner