Simple sample project to show ViewModel and Firebase Database working together. Based on this article: https://medium.com/globallogic-latinoamerica-mobile/viewmodel-firebase-database-3cc708044b5d
Keep in mind when you compile the project, you need a valid google-services.json in app module. To do that, you must to create your own firebase database with the following format: