JoanZapata/base-adapter-helper

How to monitor the list item in the view of the click event?

Closed this issue · 3 comments

How to monitor the list item in the view of the click event?
such as the Button,ImageView...
As Google Play App. Click the view button in list item...

I'm not sure I understand your problem. Can't you use setOnItemClickListener on your ListView?

He just wanted to click the view button in list item,I would also like to know.

Ok so what you want is something like helper.setOnClickListener(R.id.whatever, onClickListener) right? I'll add it in the next release.

In the meanwhile, you should be able to do helper.getView(R.id.whatever).setOnClickListener(onClickListener)