ContributesExperiment
Annotate a Experiment class with this to automatically contribute it to the ExperimentScope multibinding. Equivalent to the following declaration in an application module:
@Module
@ContributesTo(ExperimentScope::class)
abstract class ExperimentModule {
@Binds @IntoSet
abstract fun bindMainExperiment(experiment: MainExperiment): Experiment
}
Content copied to clipboard
The generated code created via the anvil-codegen module.