# Set a click listener to a RecyclerView

DevFeed: [Set a click listener to a RecyclerView](<https://devfeed.tech/articles/set-a-click-listener-to-a-recyclerview-27221.md>)

Original publisher: [Read original article](<https://antonioleiva.com/recyclerview-listener>)

Published: 2015-12-14T00:00:00Z

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [recyclerview](<https://devfeed.tech/topics/recyclerview.md>), [Android](<https://devfeed.tech/topics/android.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [adapter](<https://devfeed.tech/tags/adapter.md>), [android](<https://devfeed.tech/tags/android.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [interface](<https://devfeed.tech/tags/interface.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [recyclerview](<https://devfeed.tech/tags/recyclerview.md>)

## AI overview

This tutorial explains how to add click handling to an Android RecyclerView adapter. It demonstrates passing a listener through the adapter constructor, using a Java interface or a Kotlin lambda, and assigning the listener when binding item views.

## Source excerpt

Everything Android, Kotlin and other random topics