Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Updated Dagger Module
interface AppComponent {
interface Factory {
fun create(@BindsInstance context: Context): AppComponent
fun getInitializers(): Map<Class<out ModuleInitializer>, @JvmSuppressWildcards ModuleInitializer>
abstract class InitializerModule {
abstract fun customerCareInitializer(initializer: CustomerCareInitializer): ModuleInitializer
abstract fun subscriptionInitializer(initializer: SubscriptionInitializer): ModuleInitializer
annotation class InitializerKey(val value: KClass<out ModuleInitializer>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment