-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] #14 : Auth 관련 DI 모두 Activity Component로 수정
- Loading branch information
1 parent
a9be0b0
commit 9848ea2
Showing
4 changed files
with
27 additions
and
26 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
core/data/src/main/java/com/wap/wapp/core/data/repository/di/AuthRepositoryModule.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.wap.wapp.core.data.repository.di | ||
|
||
import com.wap.wapp.core.data.repository.auth.AuthRepository | ||
import com.wap.wapp.core.data.repository.auth.AuthRepositoryImpl | ||
import dagger.Binds | ||
import dagger.Module | ||
import dagger.hilt.InstallIn | ||
import dagger.hilt.android.components.ActivityComponent | ||
import dagger.hilt.android.scopes.ActivityScoped | ||
|
||
@Module | ||
@InstallIn(ActivityComponent::class) | ||
abstract class AuthRepositoryModule { | ||
@Binds | ||
@ActivityScoped | ||
abstract fun providesAuthRepository( | ||
authRepositoryImpl: AuthRepositoryImpl | ||
): AuthRepository | ||
} |
20 changes: 0 additions & 20 deletions
20
core/data/src/main/java/com/wap/wapp/core/data/repository/di/RepositoryModule.kt
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
core/domain/src/main/java/com/wap/wapp/core/domain/auth/SignInUseCase.kt
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
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