By following Handle Button click inside a row in RecyclerView and Issue with CardView and OnClickListener in RecyclerView my code is working for both view i.e complete row and imageview inside row.
If imageview inside row is clicked then onclick of row item should not fired, but it happen following approach in given links
Like for ListView item if you give focusable="true" of view inside row then onItemClick is not fired, if view inside row is clicked (only onClick(View) is fired.
How to make it possible with Recycler view?