How to remove the items from the cart?How to remove the items from the cart?

in your Use MVC Pattern To Create Very Basic Shopping Cart - Android Example how can we remove the item form the cart or can we like do this if we just click add button again it is removed. and when the app is running on the emulator it works fine but when u close it and press the home button and hold it will show the apps running in the background and then when you launch this app from there again it shows a copy of four items on the main view. how to remove that?

Answer 1

This example is only for understand the MVC / Singalton Pattern logic in android. Later i will give examples for shopping cart.

SUBMIT YOUR ANSWER

  |  
 
 
 

Preview :