How would one pass a onClickListener to the adapter for when the View (parent) or entire ViewHolder is selected.
In your example you only show how to add a onClickListener to a button within the View Holder.
I want to know when a user clicks on an Item in the recyclerView and have the item Passed through to the onclick event.
How would one pass a onClickListener to the adapter for when the View (parent) or entire ViewHolder is selected.
In your example you only show how to add a onClickListener to a button within the View Holder.
I want to know when a user clicks on an Item in the recyclerView and have the item Passed through to the onclick event.