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
Your article helped me a lot, is there any more related content? Thanks!
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.