Android Basics – Learn about Event Listeners. How ListView Item Click Works ?

In the last Article you learnt about ListView and how it can be used to display a List of items.

So the list of items is ready, what’s next ?

Don’t you think the user should be able to do something with that. Like view the details of an item.

To enable the App to perform some activity when an item is clicked you need to use an onItemClickListener.

Source Code is available here