ContributesInitializer
Annotate a Initializer / AsyncInitializer class with this to automatically contribute it to the Initializer multibinding. Equivalent to the following declaration in an application module:
@Module
@ContributesTo(AppInitializersScope::class)
abstract class ExperimentModule {
@Binds @IntoSet
abstract fun bindMainExperiment(initializer: MainInitializer): Initializer
}
Content copied to clipboard
The generated code created via the anvil-codegen module.