Media Summary: To support resuming the app after process death, our AppRepository needs to be able to fetch a single repo from the GitHub API. In this lesson, we update the AppRepository to use a basic in memory cache to save a network request when fetching a single ... In this lesson we add a new project and interface to handle screen navigation. This is more to demonstrate how to share ...
Dagger 2 Deep Dive 40 - Detailed Analysis & Overview
To support resuming the app after process death, our AppRepository needs to be able to fetch a single repo from the GitHub API. In this lesson, we update the AppRepository to use a basic in memory cache to save a network request when fetching a single ... In this lesson we add a new project and interface to handle screen navigation. This is more to demonstrate how to share ... In this lesson, we learn about qualifier annotations and how to use them to separate dependencies of the same type in your ... In this lesson, we finish the RepoDetailsFragment by updating the views when the view state from the RepoDetailsViewModel is ... As an example of how to share dependencies across scopes, without making them a Singleton, this lesson has us add a ...
We start off by building a simple app that displays a count. The Counter is created by the "ViewModel" rather than passed to it. Everything is set up to allow our HomeFragment to navigate to the RepoDetailsFragment via the ScreenNavigator. In this lesson ... In this lesson, we use the testing library we've created to quickly write an Espresso test for the RepoDetailsFragment. Project: ... Let's get ahead of some breaking changes and update our testing library to provide a fake ScreenNavigator. This will be useful for ...