I have a custom adapter for ListView
using custom adapter which extends BaseAdapter
. In this custom adapter I have a view holder that holds the items shown in every list item.
Can I get a click callback of certain list item child View
IN the Activity
where I create and fill my ListView
?
In your adapter class:
You let your
Activity
implementViewClickListener
interface. Remember to callmyAdapter.setViewClickListener(this);
in theActivity
In the
getView
method: