We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d901a9 commit be89b24Copy full SHA for be89b24
app/src/main/java/com/hoc081098/paginationmviflow/ui/main/MainModule.kt
@@ -4,10 +4,12 @@ import dagger.Binds
4
import dagger.Module
5
import dagger.hilt.InstallIn
6
import dagger.hilt.android.components.ViewModelComponent
7
+import dagger.hilt.android.scopes.ViewModelScoped
8
9
@Module
10
@InstallIn(ViewModelComponent::class)
11
interface MainModule {
12
@Binds
13
+ @ViewModelScoped
14
fun provideMainInteractor(impl: MainInteractorImpl): MainContract.Interactor
15
}
0 commit comments