Search Functionality for RecyclerView – Android Studio Tutorial

Google+ Pinterest LinkedIn Tumblr +

Video is ready, Click Here to View ×

In this video we will implement a search functionality for our RecyclerView so we can filter it’s items by their text. For this we will use an EditText, the setTextChangedListener method, a TextWatcher and the afterTextChanged method.

Source code, dependencies etc:

Free 7-day trial for Treehouse courses:

Great books to learn Android development:
-The Big Nerd Ranch Guide: ➣
-Head First Android Development: ➣

Best equipment for long hours of coding:
-Keyboard: ➣
-Mouse: ➣

My recording equipment:
-Microphone: ➣

Disclaimer: The links marked with ➣ are affiliate links. This means I get a small compensation if you buy anything there or register for their services. This does NOT lead to any additional costs for you, but it’s a good way to support my channel 🙂


About Author


  1. I'm having problem in the mAdapter.filterList(filteredList) it said Cannot resolve method 'filterList(java.util.ArrayList<edu.sti.thesisapp.ExampleItem>) but i already did the function of the filterList in the ExampleAdapater
    please help i really need it 🙁

  2. I'm having the same problem as MoZenLen, but I didn't find a solution? Could you please help me, I made everything like in your tutorialsmAdapter.filterList(filteredList) it said  Cannot resolve method 'filterList(java.util.ArrayList<edu.sti.thesisapp.ExampleItem>)

Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.