0

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.

1 Answers1

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.