small question <@U2JKKPMEE> please I am setting Ro...
# koin
t
small question @arnaud.giuliani please I am setting Room in my project I have inject the AppDatabase like this
bean { 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