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/#105] 탐색 뷰 더미데이터 연결 #106

Merged
merged 8 commits into from
Jan 21, 2025

Conversation

Hyobeen-Park
Copy link
Collaborator

@Hyobeen-Park Hyobeen-Park commented Jan 21, 2025

Related issue 🛠

Work Description ✏️

  • 더미데이터 연결

Screenshot 📸

Screen_Recording_20250122_010650_Spoony-Android.mp4

Uncompleted Tasks 😅

To Reviewers 📢

서버에서 태그 텍스트컬러랑 배경컬러 바꿔서 저장해가지고 지금 두개가 섞여서 오고 있는데 전달해두었으니 참고 부탁드립니다!!

@Hyobeen-Park Hyobeen-Park added ❤️효빈❤️ ❤️효빈❤️ FEAT✨ 새로운 기능 구현 labels Jan 21, 2025
@Hyobeen-Park Hyobeen-Park self-assigned this Jan 21, 2025
@Hyobeen-Park Hyobeen-Park requested a review from a team as a code owner January 21, 2025 16:02
Copy link
Member

@chattymin chattymin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!
하나 확인하고 가고 싶어서 Request Change하니 확인 후 답변 달아 주세요~

Comment on lines 35 to 55
private fun getCategoryList() {
viewModelScope.launch {
runCatching {
exploreRepository.getCategoryList()
.onSuccess { response ->
_state.update {
it.copy(
categoryList = UiState.Success(response.toImmutableList())
)
}
}
.onFailure {
_state.update {
it.copy(
categoryList = UiState.Failure("카테고리 목록 조회 실패")
)
}
}
}
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p1) Repository에서 이미 Result 객체로 보내주고 있는데 한번 더 runCatching으로 묶은 이유가 있을까요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제가 runCatching이 뭔지,,, 까먹었나봅니다,,,ㅋㅋㅋ큐ㅠ

Copy link
Member

@Roel4990 Roel4990 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~

Copy link
Collaborator

@angryPodo angryPodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~

Copy link
Member

@chattymin chattymin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT~

@Hyobeen-Park Hyobeen-Park merged commit 3bf4748 into develop Jan 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEAT✨ 새로운 기능 구현 ❤️효빈❤️ ❤️효빈❤️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 탐색 뷰 더미데이터
4 participants