Rebuild and debug Data Model
This week, the focus has been trying to adapt the app to fit the newly modified data model.The new version of the data model shares exactly the same name with the Android version.And the core data diagram is attached as below.By rebuilding the data model, most of the task related to management of the data base has been shifted into the categories files, which aim to make the program more objective oriented.
Edit Detail Interface
In addition to the data base, the detail editing interface has been improved. Instead of using many text fields, a static table view is engaged to obtain the detailed information of a specific product.A screen shoot of the new product detail interface has been attached below.The rotating dail is there for user to select a unit that already exists in the data base. For the rest of the entries, the virtual keyboard would pop up when clicking on the individual entries. User, then, would be able to key in specific information of a product.
Delete
Deleting list or entry is also enabled. when user swipes across one of the entries in the table. a delete button would appear. When clicked on, the corresponding entries would be wiped out.A screen shoot of the delete button is shown in the pictureBugs or problems:some times the app is having trouble adding new units, and I am working on solving this problem.





