I have listed a list with custom adapter to display different images in each list item and succeeded.
Now i need to add a onitemclick listener for that list.
Unable to access the id because the list id is – “@+id/android:list”.
Unable to identify this id.
Any ideas please share.
You will get some more idea when you see this below link
In the given example, the ListActivity is extended in CustomAdapterActivity.java
so its simple to get Click events of the list items by writing list item click listener
and to write onClickListener you need to do
like this in that class.
**
**
And To Know More and Learn About LIST VIEW in Android you can view this : http://www.vogella.de/articles/AndroidListView/article.html#overview_listview