I am trying to create a cart using android for my e-commerce app. I have thought of using shared preferences but I can also use Sqlite database. I need help on the best method out of the two (shared preferences and sqlite database ) that I should use.
Asked
Active
Viewed 74 times
1 Answers
0
You should provide more details about the data you would like to store.
Please, refer to the similar answer about SQLite / Shared Preferences comparison on stackoverflow.
Generally: large amount of data -> SQLite, key/value pairs -> shared preferences.

Vadym Yaremenko
- 61
- 1
- 2
-
Thanks... The link you provided has answered my question – Ng'ang'a Victor Jan 31 '19 at 15:58