Skip to content

Instantly share code, notes, and snippets.

@Rasalexman
Last active May 6, 2020 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rasalexman/1302ea221936052732eff522a6570944 to your computer and use it in GitHub Desktop.
Save Rasalexman/1302ea221936052732eff522a6570944 to your computer and use it in GitHub Desktop.
Module example
val systemModule: IKodiModule = kodiModule {
bind<IRetrieveAndUpdateFirebaseTokenUseCase>() with provider {
RetrieveAndUpdateFirebaseTokenUseCase(
userPreference = instance<IUserPreference>(),
updateFirebaseTokenUseCase = instance<IUpdateFirebaseTokenUseCase>()
)
}
} withScope "FIREBASE_SCOPE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment