I want to make a list of Products.
When the user clicks one Product I want to ask if he wants to buy this product.
Then it should be stored in something like an array until the dialog is closed, so i can add all the selected products to the database
I have tried it with a list, but there should be a better way.
Can anybody help me how I can do this?