Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val appModule = module {
- // single instance of HelloRepository
- single<BaseNetworkRepository> { BaseNetworkRepositoryImpl() }
- single<NetworkService> { (base: BaseNetworkRepository, retrofit: Retrofit) ->
- base.giveNetworkService(retrofit)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement