In Android there is a very simple way to add a date picker to your app with just a few lines of code. In this tutorial we are going to show you how to set up the DatePicker, show the date in a TextView and calculate the age based on the users input.
Android datepicker
When I started using Firebase realtime database in my app I Quit Smoking it was very easy to test. All the data in the database was from development with the emulator. I released the new version of the app and there where a few errors. So I started to work on that. I soon discovered a practical problem being that the data in the database contained live data. I didn’t want to corrupt that. I used to following steps to get a debug database.
Firebase - How to separate development from live data