Kshitij Patil
12/17/2020, 7:50 AMretrofit
and I'm willing to use one of them as default when no qualifier is provided. I've multiple APIs being initiated from Retrofit insance. How can I simplify folliwing snippet
apiModule = module {
single<AuthApi> { get<Retrofit>(named("main")).create() }
single<VisitorEventsApi> { get<Retrofit>(named("main")).create() }
// many such APIs
}