Media Summary: Dependency injection doesn't require a framework, it's simply a pattern of passing dependencies to an object, rather than having ... In this lesson we add a new project and interface to handle screen navigation. This is more to demonstrate how to share ... We start off by building a simple app that displays a count. The Counter is created by the "ViewModel" rather than passed to it.
Dagger 2 Deep Dive 2 - Detailed Analysis & Overview
Dependency injection doesn't require a framework, it's simply a pattern of passing dependencies to an object, rather than having ... In this lesson we add a new project and interface to handle screen navigation. This is more to demonstrate how to share ... We start off by building a simple app that displays a count. The Counter is created by the "ViewModel" rather than passed to it. In this lesson, we update the AppRepository to use a basic in memory cache to save a network request when fetching a single ... Everything is set up to allow our HomeFragment to navigate to the RepoDetailsFragment via the ScreenNavigator. In this lesson ... Here we set up some initial files for the first "feature" of our app, the home screen. Project: ...
In this lesson we create a ScreenNavigator implementation that is tied to our Activity. This will be bound in the We'll go over the app that we're building and how 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 video I talk about 1) How to use subcomponents with An introduction to dependency injection, why it is important, and how to use 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 over how to expose Singleton dependencies in a modular way. Singleton dependencies provided by the ... We'll need to reference the Application Component in the future, so we start by creating a custom Application class and initializing ... This video is an overview of everything we covered in the In this lesson, we learn how Component dependencies are used in the generated code. This video is part of a series. See the full ...