Does this mean that I do not need to announce it? Under what circumstances will this be wrong?
It actually seems that you do not need to declare it, but this can lead to compilation errors if you do not.
AndroidInjectionModule, , @Multibinds
.
@Multibinds
abstract Map<Class<? extends Activity>, AndroidInjector.Factory<? extends Activity>>
activityInjectorFactories();
, @Multibinds
, ,
@Multibinds
, @IntoSet
, @ElementsIntoSet
@IntoMap
, , .
, , , AndroidInjectionModule
. Android Injection undefined -, , , , , .
, , , @ContributesAndroidInjector
, @Binds @IntoMap etc.
, . , , @Multibinds
, AndroidInjectionModule
.
, , , , . , javadoc , , .
, Application.