Skip to content

On Item Click listener #42

Description

@Zapnologica

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions