Repeated content in each row for button present, unable to click buttons in second/third row

In recycler view, repeated content in each row, different layouts are presents, but code is same.
Button used in each row will have the same id. How can we tap on the button in second or third row.