title: How to create a shopping cart in android
body: <p>i am trying to add shopping cart feature in my android app.I have a listview which is populated by json data using volley.On clicking listview item you view the item in Details.java,on clicking a button you save the said item in cart.I would like to know how to handle this cart feature.In <a href="http://www.androiddom.com/2011/02/android-shopping-cart-tutorial.html" rel="nofollow noreferrer">this</a> tutorial,they advised to create static variables for the items in a global class.Or should i use SQlite to save the data in cart?Any help will be appreciated.Please let me know if you need any code.Also you can check out <a href="https://stackoverflow.com/questions/29163380/how-to-create-static-static-variables-from-a-json-downloaded-using-volley">this</a> for more details.</p>