-
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/#45] Argument 친구 목록 재사용 추가 #80
Conversation
…into feature/#24-moimcreate-ui # Conflicts: # core/data/src/main/java/com/teumteum/data/repository/UserRepositoryImpl.kt # core/data/src/main/java/com/teumteum/data/service/UserService.kt # core/domain/src/main/java/com/teumteum/domain/repository/UserRepository.kt
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.
고생했슈
val userInfoState by viewModel.userInfoState.collectAsState() | ||
|
||
val topbarText = when (val state = userInfoState) { | ||
is UserInfoUiState.Success -> "${state.data.name}의 소개서" |
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.
이 부분 스트링 리소스로 빼면 좋을 것 같아요!
viewModel.loadFriendInfo(userId.toLong()) | ||
viewModel.getUserOpenMeeting(userId.toLong()) | ||
viewModel.getUserClosedMeeting(userId.toLong()) | ||
viewModel.loadFriends(userId.toLong()) |
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.
run 쓰면 더 깔끔해질 수 있을 것 같아요~!
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.
저도 같은걸 두번씩 써야하나 싶었는데 run이 있었군요 🫡 감삼다
if (userId != -1L) { | ||
viewModelScope.launch { | ||
settingRepository.getMyPageOpenMeeting(userId) | ||
.onSuccess { meetings -> |
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.
여기 "mettings"는 쓰이는 곳이 없는 것 같은데 맞나요?
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.
아하 정답이네용 왜냐면 이전에 했던걸 긁어온건데 거기랑 돌아오는 result 값이 달랐거든요 . . .수정하도록 하겠습니다
📌 개요
✨ 작업 내용
📸 스크린샷/동영상