Skip to content

Instantly share code, notes, and snippets.

@micHar
Created January 29, 2021 13:01
Show Gist options
  • Save micHar/da732de5d41f9517f0924f3b6a4121c8 to your computer and use it in GitHub Desktop.
Save micHar/da732de5d41f9517f0924f3b6a4121c8 to your computer and use it in GitHub Desktop.
val commonModule = module {
single { UserService() }
factory { LoadUserUseCase(get()) }
factory { SaveUserUseCase(get()) }
factory { ObserveUsersUseCase(get()) }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment