Answer the question
In order to leave comments, you need to log in
Which data storage method to choose?
Hello.
I am learning android. I'm trying to write something like "Diet Calculator". It is necessary to store data about the user (Name, height, weight, age, BJU, meal plan, training plan, etc.). I know that in android there are several ways to store data: preferences, SQLite and internal storage. Please let me know what is best for my problem.
Answer the question
In order to leave comments, you need to log in
In this case, I advise SQLite.
You can read this to know which option is better to use in the future - https://developer.android.com/guide/topics/data/da...
To store such data, for me personally, Sqlite is the most convenient. This is almost a complete database. You can use orm, or you can not use it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question