title: Link Android Room Database with Firebase Realtime Database
body: <p>I am using <strong>Android Room Database</strong> for creating the database for my android app. It works perfectly for me locally but I cannot link to a server to have it online as well.
  I am using Firebase for Authentication. I am trying to use <strong>Firebase Realtime Database</strong> to save the whole database object from Room and load the correct database on app startup according to the authenticated user.</p>
  
  <p>I want to ask if this is possible at all? and if I can just save a whole instance of Room database or I need to re-create the database on Firebase and save my data item by item?</p>
  
  <p>I also can't seem to be able to get access to the database data of Room, as when I get an object of the AppDatabase class it doesn't really pass the data. And I don't know how should do the opposite, to assign the data retrieved from Firebase later to the local data saved?</p>
  
  <p>Also if it's not possible with Firebase, do you have any recommendation for some other server I can use with Room? </p>