Repository is a class which puts the network and local data operations into a centralized place. Repository is also a place for orchestrating the data caching. We don’t need to fetch data from the network every time the user launches our app. If the local data is relatively up-to-date, we can use it instead.
In this part the series you are going to learn how to create such a repository. You’re also going to learn how to finally set up the dependency injection so that we are prepared for the next part.
?Get the code from this tutorial?
KARESS