I wanted to store data in shared references. There are 10 different items with different price and details.
User will select to add to cart. If I were to retrieve the information of items added and display the total price, items in cart with highest and lowest price.
Is it better to stored by
(i) each item with different class of sharedpreference,
(ii) sharedpreference with class of name, price, detail
or any other ways?
Android Studio - SharedPreference -Store and retrieve data
Post a Reply
Nothing to see here.
Used in many types of software including music players, video games, and many large scale applications.
|Bucky Roberts Administrator|