Media Summary: In this lesson we use the testing library that was created in the last few videos to create an Espresso test for the HomeFragment. Before bringing in the real GitHub API, our app needs to support making requests on a background thread. In this lesson we'll ... In this lesson we create an internal testing module along with the TestApplicationComponent. This is a test Component that will ...
Dagger 2 Deep Dive 30 - Detailed Analysis & Overview
In this lesson we use the testing library that was created in the last few videos to create an Espresso test for the HomeFragment. Before bringing in the real GitHub API, our app needs to support making requests on a background thread. In this lesson we'll ... In this lesson we create an internal testing module along with the TestApplicationComponent. This is a test Component that will ... In this lesson we'll finish the testing library with a TestApplication and test runner. Project: ... 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 add a new module for a new screen, the repo details screen. We'll set up some dependencies and the initial ...
We start off by building a simple app that displays a count. The Counter is created by the "ViewModel" rather than passed to it. Now we're set up to bring in GitHub API requests. In this lesson we use Retrofit to create an implementation of GitHubApi. We'll go over the app that we're building and how 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 go over how to expose Singleton dependencies in a modular way. Singleton dependencies provided by the ... As an example of how to share dependencies across scopes, without making them a Singleton, this lesson has us add a ...