Room3 Alpha - Example (compatible with Room 2)
Introduction Now Room3 is available in Alpha, it may be a good time to check it out and make sure it works with your current database. If you have never used a Room database before, this blog should give you a working start point to see it in action. This is for people interested in testing Room3 and for people interested in Room in general. Beginners may want to give this a try just so they can see a database in action. I will not go into too much detail about Room itself in this post, but you can see how to quickly get something up and running. More advanced programmers may just want to check out the dependencies as a reference, but you may be interested in how I access my Database and pass it into the ViewModel . Goal As well as setting up a Room database that will work with both Room2 and Room3 (depending on which dependencies you use), we will also add a ViewModel and Basic UI . Getting Started - The Boring Part We can start by adding our dependencies for Roo...

