I'm currently building an app which will have pre-saved data for in-app use, but I'm not sure how should I store my data in the app, and would love some help and ideas on that:
These are the main "specs" and important information about my data:
- The data is defined by me (the developer) and is not affected in any way by the user (This means the data is static - no need to update it at anytime except when there is a new update to the app).
- The data will be divided into distinct items. There will be about 50-200 items in the app.
- Each item will have info (i.e name, type, etc..), including resources for map vectors and images.
- The items will be loaded into a ListView
- There will be option to filter the items by one specific property (in the ListView).
- Since all the data is generated by me, and some of it is big, I would like if possible for an easy way of "writing" the data.
I was thinking of two options:
- Define a Java Class for the items, and populate a static class with all the items, stored in a list.
- Use a SQLite DB, but that seems too "overpowered" since the data is static.
What other options are available and what are the tradeoffs between them?