Giter VIP home page Giter VIP logo

myfridge's Introduction

MyFridge

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!

Instructions to Run:

(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

App Features:

  • 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)

GIFS:

Shopping List Fragment

Refrigerator Fragment

Compose Fragment

Notification

Challenges:

  • 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)

myfridge's People

Contributors

st3phy831 avatar bardiaalavi-2020 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.