Media Summary: The HomeFragment will be driven by "view states" that come from a ViewModel. In this lesson we'll create the view model, along ... The home screen will display a list of repositories from GitHub. In this video we set up the RecyclerView Adapter and related files ... 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 17 - Detailed Analysis & Overview
The HomeFragment will be driven by "view states" that come from a ViewModel. In this lesson we'll create the view model, along ... The home screen will display a list of repositories from GitHub. In this video we set up the RecyclerView Adapter and related files ... In this lesson we add a new project and interface to handle screen navigation. This is more to demonstrate how to share ... 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: ... As an example of how to share dependencies across scopes, without making them a Singleton, this lesson has us add a ...
Let's get ahead of some breaking changes and update our testing library to provide a fake ScreenNavigator. This will be useful for ... In this lesson we create a ScreenNavigator implementation that is tied to our Activity. This will be bound in the In this lesson we create an internal testing module along with the TestApplicationComponent. This is a test Component that will ... In this lesson we use the testing library that was created in the last few videos to create an Espresso test for the HomeFragment. There is one more step before making a real GitHub API request. The response json doesn't quite match the models we have. Now we're set up to bring in GitHub API requests. In this lesson we use Retrofit to create an implementation of GitHubApi.
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'll finish the testing library with a TestApplication and test runner. Project: ... We'll need to reference the Application Component in the future, so we start by creating a custom Application class and initializing ... Our project will have separate modules for our separate functional pieces. The GitHubApi module will define our API models and ... 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 go through how Multibound Maps are created in
We'll go over the app that we're building and how