Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 772 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 772 Bytes

AndroidDB

This project comprises of an android app which loads data from firebase database and displays it in RecyclerView.

The data is stored in following hierarchy

                    --users
                      |--data
                         |--id
                            |--name
                            |--age
                            |--timestamp
  • The data is loaded in RecyclerView in descending order of timestamp ( Collections.reverse(list); is used)
  • The database only maintains ten latest data. So a firebase function is deployed which deletes the old data and maintains the latest ten data. The function is functions/index.js