Last active
June 24, 2019 19:06
-
-
Save Rasalexman/2315b4ed25159b28fec42c7a6295e7a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val databaseModule = Kodein.Module("database_module") { | |
bind<IGenresDao>() with provider { kodein.direct.instance<MoviesDatabase>().getGenresDao() } | |
bind<IMoviesDao>() with provider { kodein.direct.instance<MoviesDatabase>().getMoviesDao() } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment