By once I do not mean once during activity. I mean once and never again when the user reopens the app in the future.
I have close to 30,000 Strings (2 sets of Strings so total 60,000). One is names another is some descriptions. Unable to store them as key Value pairs as my names are not unique thus storing them as 2 individual ArrayLists of equal length.
Based on my understanding, a list of this size is better stored in an SQLite database. My question is how do I load the data up from ArrayList to SQLite once on the first time they open the app?
Cos if I am going to load from ArrayList to SQLite everytime the user opens the app, it is going to take a long time to be ready.
If this is not possible, can I get some advice on how I can get around this? Was considering MySQL and store this remotely but I want to keep the app offline accessble if at all possible.
Aucun commentaire:
Enregistrer un commentaire