Start of business with great intentions

I start work with Serializeableextra. This optional element contains a Listcustom object that contains many types, mostly strings. I read the data from the assets folder of my project and analyzed it using GSON (JSON data). This file is ~ 108KB in size.

During the life of my application, all data is transferred as additional intentions. This is very convenient, since I no longer need to worry about reloading data from the resource folder, shutdown will take care of restoring the application, and I don’t need to manage the SQLite database (versions, queries, etc.).

Problem: I find that the transfer of these additional functions can become quite slow (starting activity with EVERYTHING, the data can be 1.5 seconds or more). I do not seem to see any download dialog, as it seems to be a blocking call to trigger activity and add extra features.

Question (s): Should I avoid transferring these add-ons, as I already described? Is it best to use a SQLite database to interact with this data? What suggestions should you avoid the fuss of SQLite databases / global static variables to access my application data?

The appearance of my JSON data in data model classes and their transfer in the form of duck additions is easy and pleasant (apparently), and I do not want to abandon it.

+3
2

, , . SQLite DB , "..." , .

SQLite - .

+1

Application, onCreate Application, ?

0

All Articles