Created
August 28, 2021 10:33
-
-
Save PShchahelski/c55e387caf0970e03a804837a429d510 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| @Component | |
| interface Component { | |
| @Component.Factory | |
| interface Factory { | |
| fun create( | |
| @BindsInstance dialogId: DialogId, | |
| ): Component | |
| } | |
| ... | |
| } | |
| @InjectViewState | |
| class Presenter @Inject internal constructor( | |
| private val dialogId: DialogId, | |
| private val repository: Repository, | |
| ) : MvpPresenter<View>() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment