The UI module allows us to implement the user interface of our application for a specific form factor or framework. In this lesson, we're going to be setting up the dependency injection for the module to allow us to inject various components to the different modules of our application.
I couldn't understand this lesson completely. I understand the general idea of the ApplicationComponent but couldn't understand the way @Component.Buider and @BindsInstance work, the why and how!. Wouldn't be easier to just provide the application?
I'm confused, where does DaggerApplicationComponent come from? I see the import that points to
import co.joebirch.mobile_ui.injection.DaggerApplicationComponent which doesn't exist in the source folder, and apparently does in the build folder.
Ah I see, I had to build the project so that Intellisense could find the link. That's not very intuitive for us trying to learn Dagger