-
Notifications
You must be signed in to change notification settings - Fork 1
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
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 ef23c12
[FEAT/#59] 스크랩 데이터소스 생성
boiledEgg-s 2e52a96
[FEAT/#59] 스크랩 레포지토리 생성
boiledEgg-s b6b97b4
[ADD/#59] 힐트 모듈 코드 추가
boiledEgg-s 8facc3d
[MOVE/#59] 패키지 구조 수정
boiledEgg-s 5cb9523
Merge branch 'develop' into feat/#59-calendar-month
boiledEgg-s a41c1c5
[MOD/#59] 서버 통신 로직 수정
boiledEgg-s 7c0ba19
[FEAT/#59] 페이지 전환 시 서버 호출 구현
boiledEgg-s a56ee6b
[REFACTOR/#59] 월간 캘린더 호출 코드 리팩토링
boiledEgg-s c71d01f
[MOD/#59] 기타 코드 수정
boiledEgg-s 8682749
[FEAT/#59] SideEffect 추가
boiledEgg-s f817357
[REFACTOR/#59] UI 코드 리팩 및 네비게이터 추가
boiledEgg-s 3129dff
[FIX/#59] MainNavigator 재설정
boiledEgg-s 01028e3
Merge remote-tracking branch 'origin/develop' into feat/#59-calendar-…
boiledEgg-s 9c9a462
[FIX/#59] MainNavigator 2차 재설정
boiledEgg-s 12641e9
[MOD/#59] Dto 매퍼 수정
boiledEgg-s 8988ae8
[FEAT/#91] Dto 생성 및 이름 변경
boiledEgg-s 59ca4f5
[RENAME/#91] 통신 클래스 네이밍 수정
boiledEgg-s 5302933
[FEAT/#91] 모듈 추가
boiledEgg-s 3565d93
[FEAT/#91] 데이터소스 코드 추가
boiledEgg-s 2db05f0
[FEAT/#91] 레포지토리 코드 추가
boiledEgg-s 79a3ed2
[RENAME/#91] State 이름 변경
boiledEgg-s 88684e7
[FEAT/#91] 뷰모델 로직 구현
boiledEgg-s 55be60d
[FEAT/#91] 월간 스크랩 목록 구현
boiledEgg-s b64665b
[CHORE/#91] 월간 스크랩 목록 오류 수정
boiledEgg-s 35e5ac2
[CHORE/#91] 월간 스크랩 목록 코드 수정
boiledEgg-s 9cf9e7f
[FEAT/#91] 일간 스크랩 목록 로직 구현
boiledEgg-s c22a402
[CHORE/#91] 일간 스크랩 목록 로직 오류 수정
boiledEgg-s 0200946
[FEAT/#91] 일간 스크랩 목록 빈화면 적용
boiledEgg-s e0db6a1
[REFACTOR/#91] 캘린더 전면 수정
boiledEgg-s 1ce7179
Merge remote-tracking branch 'origin/develop' into feat/#91-calendar-…
boiledEgg-s 5717f6e
[CHORE/#91] 컨플릭 수정
boiledEgg-s 76093d1
[REFACTOR/#91] 임포트 정리
boiledEgg-s 3f9a40d
[MERGE] #91 -> #59
boiledEgg-s c9bf625
Merge remote-tracking branch 'origin/develop' into feat/#59-calendar-…
boiledEgg-s 4f58997
[CHORE/#59] 서비스 코드 수정
boiledEgg-s c256acd
[RENAME/#59] 월간 캘린더 스크랩 파일 이름 변경
boiledEgg-s 36e70c5
Merge remote-tracking branch 'origin/develop' into feat/#59-calendar-…
boiledEgg-s e212c04
[RENAME/#59] 서비스 연결
boiledEgg-s 8802982
[REFACTOR/#59] 전체 코드 리팩토링
boiledEgg-s e6b1236
[ADD/#59] LifecycleOwner 추가
boiledEgg-s 212ed27
[DEL/#59] 더미 삭제
boiledEgg-s 7d4ec19
[RENAME/#59] 데이터소스 네이밍 수정
boiledEgg-s File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
data/src/main/java/com/terning/data/datasource/ScrapDataSource.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,9 @@ | ||
package com.terning.data.datasource | ||
|
||
import com.terning.data.dto.BaseResponse | ||
import com.terning.data.dto.request.ScrapRequestDto | ||
import com.terning.data.dto.response.ScrapResponseDto | ||
|
||
interface ScrapDataSource { | ||
suspend fun getMonthScrapList(request: ScrapRequestDto): BaseResponse<ScrapResponseDto> | ||
} |
19 changes: 19 additions & 0 deletions
19
data/src/main/java/com/terning/data/datasourceimpl/ScrapDataSourceImpl.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.terning.data.datasourceimpl | ||
|
||
import com.terning.data.datasource.ScrapDataSource | ||
import com.terning.data.dto.BaseResponse | ||
import com.terning.data.dto.request.ScrapRequestDto | ||
import com.terning.data.dto.response.ScrapResponseDto | ||
import com.terning.data.dto.response.getMockScrapList | ||
import javax.inject.Inject | ||
|
||
class ScrapDataSourceImpl @Inject constructor( | ||
|
||
) : ScrapDataSource { | ||
override suspend fun getMonthScrapList(request: ScrapRequestDto): BaseResponse<ScrapResponseDto> = | ||
BaseResponse( | ||
status = 200, | ||
message = "(월간) 스크랩된 공고 정보가 성공적으로 로드되었습니다.", | ||
result = getMockScrapList(request.month) | ||
) | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 하드코딩은 임의인가욥?