Code refactor
This commit is contained in:
parent
332c2dc69b
commit
8eb7859f30
6 changed files with 104 additions and 74 deletions
|
@ -55,12 +55,13 @@ private val roomModule = module {
|
|||
factory {
|
||||
get<RetroDatabase>().playCountDao()
|
||||
}
|
||||
|
||||
factory {
|
||||
get<RetroDatabase>().historyDao()
|
||||
}
|
||||
|
||||
single {
|
||||
RealRoomRepository(get(), get(), get())
|
||||
RealRoomRepository(get(), get(), get(), get())
|
||||
} bind RoomRepository::class
|
||||
}
|
||||
private val mainModule = module {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue