About

The Cache layer allows us to abstract the local source of data that our application uses. In this lesson, we're going to be setting up the database class which will be used by Room to orchestrate the access to the local data in our application.

This section order is a little confusing, since you're returning a CachedProjectsDao object and we haven't built that class yet.

Steve Zaske - 7 months ago

How did you inject abstract class without having compile error?

Xun Hu - 7 months ago

The code shown in the video is NOT CORRECT. Check the link to the sample code for the true working code. Joe later on creates a companion object not shown here.

Steve Zaske - 7 months ago

Like ALWAYS he did

Renan Boni - 4 months ago

Sorry about this, I'll update the code for this video shortly!

Joe Birch - 4 months ago

Hello All,

Joe is working on updating a few of the videos to ensure the updates match the video. In the meantime please be sure to cross reference the video as well as the sample code if you run into any issues. Thank you for your patience.

Something went wrong

Lesson added to
playlist

Create new playlist

We've got you covered

At Caster.IO we provide the best hyper focused & bite-sized development training available. Our goal is to
not waste your time, but to give more of it to you. From implementing a new pattern to learning a new technology,
we've got you covered.