App Description: An app that helps keep track of items in refrigerator (or any household food products) in order to prevent wasting food and maintain kitchen cleanliness.
Message: Since I was a part of CodePath's Android University, I decided to create this app to practice what I learned and to learn new Android Development concepts. I appreciate any help or advice on how to make this application/code work better!
(Make sure Android Studio is already Installed) - Fork Repository -> git clone Repository -> Go to Android Studio and open an existing Android Studio Project -> Run it on emulator
- Bottom Navigation between three Fragments (Shopping List fragment, card view of Refrigerator items, and Compose Fragment)
- A Simple List to add items the user would like to buy
- User is able to click on and update items they would like to buy
- A card view of the different categories of food products in a refrigerator
- Allow the users to add refrigerator items and their expiration date
- Allow user to view items added through the card view in their refrigerator
- User gets notification on the day of the item's expiration date at 8 A.M. (this is so people can evaluate its condition and decide whether to use it or discard it)
-
I was stuck on how to pass the item added by the user to the Refrigerator Fragment to be able to add and save data to be displayed, so I used a bundle to pass the data and open the Activity so the user could see that their item was added.
-
Another challenge I had was reusing my Refrigerator Activity, so I had to send a bundle from the Refrigerator Fragment with a keyword of its designated category. This allowed me to save the items and expiration dates of a particular category in their specified text files.
-
I was also stuck on creating a notification at a specific date. I watched various videos and read Android Documentation to understand how notifications work. I tested it out in my project in a variety of different ways. Eventually, I came upon a video that facilitated the whole process using someone's created library (NotifyMe). (Resource: https://www.youtube.com/watch?v=oLngUva-Ves&t=187s)