D
D
Dmitry2020-08-30 18:29:57
Java
Dmitry, 2020-08-30 18:29:57

Which solution to choose for data storage?

In the process of working in the application, text is written to an ArrayList (5-6 sheets, each with several hundred lines. Each line is a separate word), there will be no work with these words separately, but when you open the list, you need to get the entire contents of each sheet.
Now I save each sheet to my .txt. Is it possible to leave it like this or is it better to write it to the database? If so, how can such a record be implemented?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan, 2020-08-30
@Starv

I prefer to write large amounts of data to the database.
Connect room, ormlite or any other ORM and use SQlite.

A
alekseyHunter, 2020-08-31
@alekseyHunter

The ideal solution is a remote server with a deployed database and Rest API to it.
You can use Firebase for free.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question