This is an item of my ListView
:
The star is a Button
. I set a OnClickListener
for it in getView()
method of the Adapter
. But I now face a problem - onItemClick
doesn't fire after adding the Button
. I want a Button
to listen for its clicks and the rest part of a view to respond with firing onItemClick
. Is there a solution?