Android - RecyclerView: Implementing single item click and long press (Part-II)
Hari Vignesh Jayapalan
32714

Hi, that worked well, thanks.

I have one doubt, as you mentioned in “Accessing Particular View Component in the RecyclerView Item” we can have click listener to different views in a RecyclerView.

I have a toggle button inside of it, if toggle button is clicked then I do not want single tap event on complete row to get executed only toggle button click event should get fired.

How to do that?