Giter Site home page Giter Site logo

digitalcanteen's Introduction

DigitalCanteen

For Introduction to InforSystems and Programming course.

Our Firebase link https://digitalcanteen-471fa.firebaseio.com/

How to implement firebase realtime database (to store the text information): https://firebase.google.com/docs/database/android/start/

How to implement firebase storage database (to store image information): https://firebase.google.com/docs/storage/android/start

How to get real time UI update from firebase, using recyclerView and CardView: https://github.com/firebase/FirebaseUI-Android/blob/master/database/README.md

How I mapped the food with the images (i.e. One in Storage, one in RealtimeDatabase, how do I identify which photo is of which food?) by having the same id as key. When saving to database, there is an unique id for each food, the same id applies to the image storage. Hence, when I inflate the recyclerView from realtime database, I can refer to the id and hence find the corresponding image, displaying it in the cardView using GlideAPP.

How to use Fragments for bottom navigation activity: https://www.youtube.com/watch?v=jpaHMcQDaDg https://www.simplifiedcoding.net/bottom-navigation-android-example/#Using-Bottom-Navigation-in-Android

How to inflate RecyclerView in a Fragment: https://stackoverflow.com/questions/43104485/how-to-change-fragment-with-the-bottom-navigation-activity

digitalcanteen's People

Contributors

pengshanshan99 avatar zddd-redred avatar

Stargazers

 avatar

Watchers

 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.