SE310-Team1 / ShoppIt

ShoppIt is an application to help users create and save their own shopping lists. This application is being created by Team Healthazardly. The project is associated with the University of Auckland SOFTENG 310 course.
MIT License
3 stars 13 forks source link

💡 [REQUEST] - Delete Item class and use FoodItem class #101

Closed ochu761 closed 2 years ago

ochu761 commented 2 years ago

Start Date

No response

Implementation PR

No response

Reference Issues

No response

Summary

Item class currently acts as a middleman between FoodItem and the shopping list (currently just a list view, ShoppingList model class needed #97).

Item references/is associated with a list view, however, this association should be one-way from the ShoppingList. i.e: the ShoppingList should be responsible for referencing the Item, not the other way around.

Basic Example

Drawbacks

No response

Unresolved questions

No response

poli648 commented 2 years ago

This will work great with the new shopping list class, a great opportunity to clean up code.