Dagger 2 injecting parameters of constructor
If you’re using modules, then if you have two provider modules bound to the same component, then you’ll be able to allow them to see the heater as a constructor parameter. @Module public class HeaterModule { @Provides @Singleton Heater heater() { return new Heater(); // if not using @Inject constructor } } @Module public class … Read more