1
I am developing a grocery list application, and in this application the user registers the products from the list, and then saves the same
The user enters the product name and quantity,and and the click on the add button, another identical form appears below, for him to colcoar more items in your list
I’ve thought about doing it with list view and Adapter, but still, I have no idea how to produce it. Anybody got any ideas? Thank you
The ideal is to make a Listview to be able to list these products. What you can do is add a fixed button at the bottom of the screen and create a Dialog to add these products. The moment you add, there you update your list.
– viana
Maybe I expressed myself badly, but what would actually be in lsit view, would not be the list of registered products, but the formulary, like: insert the product, enter the quantity, and then when I click to add it gives me another form of this, in case I want to register more products. In the iamge, Product, and qaunt, would be the fields of the formulary
– Victor Hugo
Whatever it is, when it’s dynamic, it’s usually more interesting to use listview. However, if you don’t want to use listview, you will have to put a scrollview in your layout, because when you reach the maximum screen limit, you will still see the elements. Use my answer as the basis if you want to do it in a listview: http://answall.com/a/152212/35406
– viana
Man, thank you so much, that’s exactly what I needed. : D Vlw!!
– Victor Hugo