There is a .txt file with a list of cities and their parameters (id, name, lon, lat, country, etc.) weighing 3.5 MB.
There is an application on android with SearchView in which only the name is required for the search query among the above data.
Actually the question is - in what way in the application to initialize such a list of data?
The first thing that came to mind was to write a small utility that converts the whole thing in json with the names of cities and in the search adapter that generates the necessary data for SearchView to work with them, and just stick it into the root of the project. But I am sure there are a lot of ways - which you can advise for use on the android platform, because there are quite strict requirements for optimization because of the iron of these devices.
And respectively the next question. The list of these cities after processing will be stored by the list inherited from the List , which option will be more suitable given that in the future this list will be converted to a MatrixCursor ?