Last active
December 27, 2023 09:22
-
-
Save itsandreramon/ae8d5409c47d2d8694e6fe7ee333e422 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SingleIn(UserScope::class) | |
@MergeSubcomponent(UserScope::class) | |
interface UserComponent { | |
@Subcomponent.Factory | |
interface Factory { | |
fun create( | |
@BindsInstance userSession: UserSession, | |
@BindsInstance userCoroutineScope: UserCoroutineScope, | |
): UserComponent | |
} | |
fun inject(activity: MainActivity) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment