Closed DannyMacha25 closed 11 months ago
This will be a class that interfaces with our Database to get item information
These Get Single Item Info
String getName(int itemId) float getPrice(int itemId) Bitmap getImage(int itemId) String getDescription(int itemId)
ItemUIElement createItemUIElement(int itemId) - Instead of calling this class from ItemUIElement, use this class to create an ItemUIElement
List createListItemUIElement(List ids) - Creates whole lotta elements
These Get Multiple Items (Probably return list of ids)
List getItemsPriceLowHigh() List getItemsPriceHighLow()
List getAllSmalls() List getAllMediums() List getAllLargers()
This will be a class that interfaces with our Database to get item information
Some Functions
These Get Single Item Info
String getName(int itemId) float getPrice(int itemId) Bitmap getImage(int itemId) String getDescription(int itemId)
ItemUIElement createItemUIElement(int itemId) - Instead of calling this class from ItemUIElement, use this class to create an ItemUIElement
List createListItemUIElement(List ids) - Creates whole lotta elements
These Get Multiple Items (Probably return list of ids)
List getItemsPriceLowHigh()
List getItemsPriceHighLow()
List getAllSmalls()
List getAllMediums()
List getAllLargers()