public final class DaggerAdapter extends Object
@dagger.Modulesuch that their
@dagger.Providesmethods can be properly invoked by Guice to perform their provision operations.
Guice.createInjector(...other modules..., DaggerAdapter.from(new SomeDaggerAdapter()));
Some notes on usage and compatibility.
@Singletonfor all scopes, including shorter-lived scopes like per-request or per-activity. Using modules written with Dagger 1.x usage in mind may result in mis-scoped objects.
|Modifier and Type||Method and Description|
Returns a guice module from a dagger module.