Media Summary: Using Dependency Injection, with or without a framework, makes unit testing much easier since you are able to provide fake or ... In this lesson we add a new project and interface to handle screen navigation. This is more to demonstrate how to share ... Here we set up some initial files for the first "feature" of our app, the home screen. Project: ...
Dagger 2 Deep Dive 14 - Detailed Analysis & Overview
Using Dependency Injection, with or without a framework, makes unit testing much easier since you are able to provide fake or ... In this lesson we add a new project and interface to handle screen navigation. This is more to demonstrate how to share ... Here we set up some initial files for the first "feature" of our app, the home screen. Project: ... We start off by building a simple app that displays a count. The Counter is created by the "ViewModel" rather than passed to it. 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 learn how to make your Fragment's component lifecycle match the Jetpack ViewModel lifecycle. This opens up ...
In this lesson, we update the AppRepository to use a basic in memory cache to save a network request when fetching a single ... As an example of how to share dependencies across scopes, without making them a Singleton, this lesson has us add a ... An introduction to dependency injection, why it is important, and how to use In this lesson we go over how to expose Singleton dependencies in a modular way. Singleton dependencies provided by the ... In this lesson we create a ScreenNavigator implementation that is tied to our Activity. This will be bound in the