Just Convert data into hashmap and then add to recycler view. then you search hashmap key instead of data.
This works on less than 1000 data in firestore database if have more than that then sometime device is lagging....
Just Convert data into hashmap and then add to recycler view. then you search hachmap key instead of data.
Java