Skip to content

Instantly share code, notes, and snippets.

@Zhuinden
Created May 23, 2020 06:21
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 Zhuinden/c90c7eee2a5d2882b9eac6776a2e7850 to your computer and use it in GitHub Desktop.
Save Zhuinden/c90c7eee2a5d2882b9eac6776a2e7850 to your computer and use it in GitHub Desktop.
AssistedInjection sample: MyClass (injection target with factory parameter)
@Singleton
class MyClass @Inject constructor(private val factory: D.Factory)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment