Hardik Trivedi wrote:Use Custom Adapter. In that you will be having getView Method in which you have inflated view for each list item. Implement you button's click event in that getView method only. So each button will have a separate click listener.Implement logic in that.
Hope you got your answer.
Or correct me if I got your question in wrong manner.
Thanks Hardik,indeed this is the rigth solution.
Implementing the event handlers inside the getView method is the rigth way to solve this!