-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from THT-Team/develop
QA 회원가입 변경사항 적용
- Loading branch information
Showing
307 changed files
with
8,031 additions
and
2,393 deletions.
There are no files selected for viewing
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
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
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
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
13 changes: 13 additions & 0 deletions
13
app/src/main/java/com/tht/tht/navigation/HomeNavigationImpl.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,13 @@ | ||
package com.tht.tht.navigation | ||
|
||
import android.content.Context | ||
import com.tht.tht.HomeActivity | ||
import tht.core.navigation.HomeNavigation | ||
import javax.inject.Inject | ||
|
||
class HomeNavigationImpl @Inject constructor() : HomeNavigation { | ||
|
||
override fun navigateHome(context: Context) { | ||
context.startActivity(HomeActivity.newIntent(context)) | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
app/src/main/java/com/tht/tht/navigation/NavigationModule.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,25 @@ | ||
package com.tht.tht.navigation | ||
|
||
import dagger.Binds | ||
import dagger.Module | ||
import dagger.hilt.InstallIn | ||
import dagger.hilt.components.SingletonComponent | ||
import tht.core.navigation.HomeNavigation | ||
import tht.core.navigation.SignupNavigation | ||
import tht.core.navigation.ToHotNavigation | ||
import tht.feature.signin.navigation.SignupNavigationImpl | ||
import tht.feature.tohot.navigation.ToHotNavigationImpl | ||
|
||
@Module | ||
@InstallIn(SingletonComponent::class) | ||
abstract class NavigationModule { | ||
|
||
@Binds | ||
abstract fun bindHomeNavigation(impl: HomeNavigationImpl): HomeNavigation | ||
|
||
@Binds | ||
abstract fun bindSignupNavigation(impl: SignupNavigationImpl): SignupNavigation | ||
|
||
@Binds | ||
abstract fun bindToHotNavigation(impl: ToHotNavigationImpl): ToHotNavigation | ||
} |
Oops, something went wrong.