Skip to content

Commit

Permalink
Feature #38: RepositoryModule
Browse files Browse the repository at this point in the history
  • Loading branch information
0se0 committed Jun 26, 2024
1 parent be0ae27 commit cc558fc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/src/main/java/com/sopt/now/compose/di/RepositoryModule.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.sopt.now.compose.di

import com.sopt.now.compose.data.UserRepository
import com.sopt.now.compose.data.UserRepositoryImpl
import com.sopt.now.compose.data.remote.repositoryImpl.AuthRepositoryImpl
import com.sopt.now.compose.domain.repository.AuthRepository
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
Expand All @@ -14,7 +14,5 @@ abstract class RepositoryModule {

@Binds
@Singleton
abstract fun bindUserRepository(
impl: UserRepositoryImpl
): UserRepository
abstract fun bindAuthRepository(authRepositoryImpl: AuthRepositoryImpl): AuthRepository
}

0 comments on commit cc558fc

Please sign in to comment.