There is an Activity, Adapter, RecyclerView, CityModel. I want to do a search that I would search among 1000 items. But so that when you enter letters, automatically filtered a list of 1000 items. If anyone has useful lessons or articles, I will be glad to see them. Thank you in advance. PS I do not want to load all 1000 elements at once. PPS I just need a competent search implementation.
Filterable
interface in the adapter and associate the adapter with theSearchView
widget (as in the first comment) - pavlofff