Join Slack
Powered by
Is there a more elegant way to inject a dependency...
# koin
t
Tsvetozar Bonev
06/17/2019, 4:49 PM
Is there a more elegant way to inject a dependency inside a module from another module than doing
Copy code
data class DbHolder(val db: AppDatabase) single { DbHolder(db = get()).db }
Open in Slack
Previous
Next