A
A
Alexsey72272021-04-07 19:06:13
Android
Alexsey7227, 2021-04-07 19:06:13

How to organize the storage of a large amount of the same type of data in Android?

I am writing a time-manager application. It works like this: a person creates some kind of goal, for example, to learn a python or learn to play chess. There can be many goals. For each goal, you can start a timer that will collect statistics on the progress of achieving the goal (adds the timer value to the total number of hours).

I want to add graphs to the application that will display the activity of the goal. To do this, I want to store the results of the timer. There can be an unlimited number of such results, so the question is: how to organize their storage? For the purposes themselves, I use SQLite, where I store the name, total time, and other little things.

That is, I need to store a growing amount of data that must be tied to a specific purpose. I ask for advice on how this can be implemented.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maaGames, 2021-04-07
@Alekssey7227

Store in sql and don't worry. For a database, tens of thousands of records is not a "large number", but a trifle. Since there is already sql support, then there are no problems :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question