Chapter 6: Assembling a Repository
In this chapter, we will begin by discussing the application's data layer and the components that make up this layer, including repositories and data sources. We will then move on to the topic of repositories, one of the application layer's components, and the role they play in managing the data of an application. In this chapter's exercise, we will continue the project started in the previous chapter by providing the repository implementations for the abstractions defined there and also introducing new abstractions for the different types of data sources.
In this chapter, we will cover the following topics:
- Creating the data layer
- Creating repositories
By the end of the chapter, you will have learned what the data layer is and how we can create repositories for an Android application.