Thibault de Lambilly
03/24/2018, 10:01 AMbean { Room.databaseBuilder(get(), AppDatabase::class.java, "mydb").build() }
(By the way, the context is injected only using the get() function, it is awesome)
I don’t find how to inject the Daos 😞 with Dagger I do like this:
@Singleton @Provides fun provideSourceDao(db: AppDatabase) : SourceDao = db.sourceDao()
How do I do that with Koin?
Thanks