Now we’re set up to bring in GitHub API requests. In this lesson we use Retrofit to create an implementation of GitHubApi. Because we’re using dependency injection, we don’t need to make any changes in the AppRepository or our ViewModel. We’re just swapping an interface implementation and everything else should just work.
Project: https://github.com/bgogetap/GitHubBro...
This video is part of a series. See the full playlist here: • Dagger 2 Deep Dive