ListView onclick fetches first object id - need to have each rows id
Android
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have been working on a listview of late that shows doctors names and icon and some other information. The problem is when I click on each listview item I expect to get each listitem's associated doctorid and using that doctorid, I want to do something else. But unfortunately whichever listitem I click (touch actually), I am getting doctorid of the first listview item. I have used a custom layout for each list view item and used a custom adapter for binding data. Custom each list item layout: -------------------------------------------------------------