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

 

Author: Ankur

I am Enthusiastic about Learning new things and sharing my Knowledge. I like programming and have a pretty good background in Computer Science.

One thought on “Android Basics – Learn about Event Listeners. How ListView Item Click Works ?”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: