ContributesExperimentVariantSerializer
Annotate a Experiment variant 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 ExperimentVariantSerializerModule {
@Binds @IntoMap
@ExperimentVariantMapKey("main")
abstract fun bindSerializer(serializer: MainExperimentVariantSerializer): ExperimentVariantSerializer
}
Content copied to clipboard
The generated code created via the anvil-codegen module.