Saving Data on Android - Part 31: Relationships | Ray Wenderlich

See how to setup relationships in a Room database. Also see how to pre-populate Room data using a RoomDatabase.Callback.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4561-saving-data-on-android/lessons/31

Hi @macsimus
i didnt get your point in the last minute about the method PopulateDbAsync

Hi @ankm, thanks of the question!

I think that was just a cheeky reference to the line we were using throughout the course, that The Answer to Life, the Universe, and Everything is 42.

See more on this here:

https://en.wikipedia.org/wiki/42_(number)#The_Hitchhiker’s_Guide_to_the_Galaxy

Thanks again!