How to filter a recycleview. I want to filter my recycleview but i want that initialy it should be empty but after adding or start searching in edittext it should visible the recycle view item and when the edit text will be empty so again the recycleview item visiablity should be gone. Recycle should be empty initialy as shown in picture
but after adding some word in edit text it should display the results After start searching in EditText
So please anyone tell me how can i do this
CodePudding user response:
Try this: AutoCompleteTextView
Here is an example