Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT/#59] 캘린더뷰 / 월간 캘린더 서버통신 로직 구현 #90

Merged
merged 43 commits into from
Jul 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
acc7547
[FEAT/#59] 스크랩 엔티티, Dto 생성
boiledEgg-s Jul 13, 2024
ef23c12
[FEAT/#59] 스크랩 데이터소스 생성
boiledEgg-s Jul 13, 2024
2e52a96
[FEAT/#59] 스크랩 레포지토리 생성
boiledEgg-s Jul 13, 2024
b6b97b4
[ADD/#59] 힐트 모듈 코드 추가
boiledEgg-s Jul 13, 2024
8facc3d
[MOVE/#59] 패키지 구조 수정
boiledEgg-s Jul 13, 2024
5cb9523
Merge branch 'develop' into feat/#59-calendar-month
boiledEgg-s Jul 15, 2024
a41c1c5
[MOD/#59] 서버 통신 로직 수정
boiledEgg-s Jul 15, 2024
7c0ba19
[FEAT/#59] 페이지 전환 시 서버 호출 구현
boiledEgg-s Jul 15, 2024
a56ee6b
[REFACTOR/#59] 월간 캘린더 호출 코드 리팩토링
boiledEgg-s Jul 15, 2024
c71d01f
[MOD/#59] 기타 코드 수정
boiledEgg-s Jul 15, 2024
8682749
[FEAT/#59] SideEffect 추가
boiledEgg-s Jul 15, 2024
f817357
[REFACTOR/#59] UI 코드 리팩 및 네비게이터 추가
boiledEgg-s Jul 16, 2024
3129dff
[FIX/#59] MainNavigator 재설정
boiledEgg-s Jul 16, 2024
01028e3
Merge remote-tracking branch 'origin/develop' into feat/#59-calendar-…
boiledEgg-s Jul 16, 2024
9c9a462
[FIX/#59] MainNavigator 2차 재설정
boiledEgg-s Jul 16, 2024
12641e9
[MOD/#59] Dto 매퍼 수정
boiledEgg-s Jul 16, 2024
8988ae8
[FEAT/#91] Dto 생성 및 이름 변경
boiledEgg-s Jul 16, 2024
59ca4f5
[RENAME/#91] 통신 클래스 네이밍 수정
boiledEgg-s Jul 16, 2024
5302933
[FEAT/#91] 모듈 추가
boiledEgg-s Jul 16, 2024
3565d93
[FEAT/#91] 데이터소스 코드 추가
boiledEgg-s Jul 16, 2024
2db05f0
[FEAT/#91] 레포지토리 코드 추가
boiledEgg-s Jul 16, 2024
79a3ed2
[RENAME/#91] State 이름 변경
boiledEgg-s Jul 16, 2024
88684e7
[FEAT/#91] 뷰모델 로직 구현
boiledEgg-s Jul 16, 2024
55be60d
[FEAT/#91] 월간 스크랩 목록 구현
boiledEgg-s Jul 16, 2024
b64665b
[CHORE/#91] 월간 스크랩 목록 오류 수정
boiledEgg-s Jul 16, 2024
35e5ac2
[CHORE/#91] 월간 스크랩 목록 코드 수정
boiledEgg-s Jul 16, 2024
9cf9e7f
[FEAT/#91] 일간 스크랩 목록 로직 구현
boiledEgg-s Jul 16, 2024
c22a402
[CHORE/#91] 일간 스크랩 목록 로직 오류 수정
boiledEgg-s Jul 16, 2024
0200946
[FEAT/#91] 일간 스크랩 목록 빈화면 적용
boiledEgg-s Jul 16, 2024
e0db6a1
[REFACTOR/#91] 캘린더 전면 수정
boiledEgg-s Jul 16, 2024
1ce7179
Merge remote-tracking branch 'origin/develop' into feat/#91-calendar-…
boiledEgg-s Jul 16, 2024
5717f6e
[CHORE/#91] 컨플릭 수정
boiledEgg-s Jul 16, 2024
76093d1
[REFACTOR/#91] 임포트 정리
boiledEgg-s Jul 17, 2024
3f9a40d
[MERGE] #91 -> #59
boiledEgg-s Jul 17, 2024
c9bf625
Merge remote-tracking branch 'origin/develop' into feat/#59-calendar-…
boiledEgg-s Jul 17, 2024
4f58997
[CHORE/#59] 서비스 코드 수정
boiledEgg-s Jul 17, 2024
c256acd
[RENAME/#59] 월간 캘린더 스크랩 파일 이름 변경
boiledEgg-s Jul 17, 2024
36e70c5
Merge remote-tracking branch 'origin/develop' into feat/#59-calendar-…
boiledEgg-s Jul 17, 2024
e212c04
[RENAME/#59] 서비스 연결
boiledEgg-s Jul 17, 2024
8802982
[REFACTOR/#59] 전체 코드 리팩토링
boiledEgg-s Jul 17, 2024
e6b1236
[ADD/#59] LifecycleOwner 추가
boiledEgg-s Jul 17, 2024
212ed27
[DEL/#59] 더미 삭제
boiledEgg-s Jul 17, 2024
7d4ec19
[RENAME/#59] 데이터소스 네이밍 수정
boiledEgg-s Jul 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/develop' into feat/#91-calendar-…
…month

# Conflicts:
#	app/src/main/java/com/terning/point/di/DataSourceModule.kt
#	app/src/main/java/com/terning/point/di/RepositoryModule.kt
#	app/src/main/java/com/terning/point/di/ServiceModule.kt
  • Loading branch information
boiledEgg-s committed Jul 16, 2024
commit 1ce71795a69a9a27dd7d825cd2a8fd42f7745b78
13 changes: 10 additions & 3 deletions app/src/main/java/com/terning/point/di/DataSourceModule.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.terning.point.di

import com.terning.data.datasource.MockDataSource
import com.terning.data.datasource.AuthDataSource
import com.terning.data.datasource.SearchDataSource
import com.terning.data.datasourceimpl.AuthDataSourceImpl
import com.terning.data.datasourceimpl.SearchDataSourceImpl
import com.terning.data.datasource.CalendarDataSource
import com.terning.data.datasourceimpl.MockDataSourceImpl
import com.terning.data.datasourceimpl.CalendarDataSourceImpl
import dagger.Binds
import dagger.Module
@@ -20,5 +22,10 @@ abstract class DataSourceModule {

@Binds
@Singleton
abstract fun bindMockDataSource(mockDataSourceImpl: MockDataSourceImpl): MockDataSource
abstract fun bindAuthDataSource(authDataSourceImpl: AuthDataSourceImpl): AuthDataSource

@Binds
@Singleton
abstract fun bindSearchViewsDataSource(searchViewsDataSourceImpl: SearchDataSourceImpl):
SearchDataSource
}
16 changes: 15 additions & 1 deletion app/src/main/java/com/terning/point/di/RepositoryModule.kt
Original file line number Diff line number Diff line change
@@ -4,6 +4,12 @@ import com.terning.data.repositoryimpl.MockRepositoryImpl
import com.terning.data.repositoryimpl.CalendarRepositoryImpl
import com.terning.domain.repository.MockRepository
import com.terning.domain.repository.CalendarRepository
import com.terning.data.repositoryimpl.AuthRepositoryImpl
import com.terning.data.repositoryimpl.SearchViewsRepositoryImpl
import com.terning.data.repositoryimpl.TokenRepositoryImpl
import com.terning.domain.repository.AuthRepository
import com.terning.domain.repository.SearchRepository
import com.terning.domain.repository.TokenRepository
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
@@ -20,5 +26,13 @@ abstract class RepositoryModule {

@Binds
@Singleton
abstract fun bindMockRepository(mockRepositoryImpl: MockRepositoryImpl): MockRepository
abstract fun bindAuthRepository(authRepositoryImpl: AuthRepositoryImpl): AuthRepository

@Binds
@Singleton
abstract fun bindTokenRepository(tokenRepositoryImpl: TokenRepositoryImpl): TokenRepository

@Binds
@Singleton
abstract fun bindSearchViewsRepository(searchViewsRepositoryImpl: SearchViewsRepositoryImpl): SearchRepository
}
9 changes: 8 additions & 1 deletion app/src/main/java/com/terning/point/di/ServiceModule.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.terning.point.di

import com.terning.data.service.AuthService
import com.terning.data.service.SearchService
import com.terning.point.di.qualifier.JWT
import com.terning.data.service.CalendarService
import com.terning.data.service.MockService
import com.terning.point.di.qualifier.OPEN
import dagger.Module
import dagger.Provides
@@ -19,6 +21,11 @@ object ServiceModule {
fun provideAuthService(@JWT retrofit: Retrofit): AuthService =
retrofit.create(AuthService::class.java)

@Provides
@Singleton
fun provideSearchService(@JWT retrofit: Retrofit): SearchService =
retrofit.create(SearchService::class.java)

@Provides
@Singleton
fun provideCalendarService(@OPEN retrofit: Retrofit): CalendarService =
You are viewing a condensed version of this merge commit. You can view the full changes here.