Aug 23, 2017 · 1 min read
Hi, Your code looks fine but please post the error message and the providers of the DaoSessions. I’ve got several usages of `@Named` in provider method parameters. E.g.
@Provides
@Named("TmdbApi")
@Singleton
internal fun provideRetrofit(okhttp: OkHttpClient,
@Named("TmdbApi") tmdbGson: Gson): Retrofit {...}
@Provides
@Singleton
internal fun provideDiscoverService(@Named("TmdbApi") retrofit: Retrofit): DiscoverService {...}
