There is an application that occasionally receives data from the server. According to this data, a table is built. Data from the application storage will not be requested very often, a maximum of 1-2 times per application session. Data is not confidential and does not require protection. Their volume, as a rule, is no more than 50 KB, but can accumulate with the months of the application. Ultimately, the size of the stored information in the application will not exceed 1 MB.

I know that Shared Preference well suited for various application settings. SQLite for large amounts of data. I'm leaning towards SQLite, but not sure until the end. What do you need and correctly use to solve my problem, and why? It is advisable to indicate why you think so, or a link to the article where it is described.

    1 answer 1

    You yourself answered your question. Your data is structured, tables are built, so it is better to use sqlite. Sharedpreferences are needed to store simple any values, not tables.