-
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
#33 / 초대장 보내기 받기 서버통신 구현 #69
Conversation
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.
안드의 신....
@SerialName | ||
("inviteCode") |
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.
이거 한줄로 하자
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.
오잉
const val MAX_LENGTH = 10 | ||
const val INVITECODE = "inviteCode" |
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.
오 내가 쓰는 const value 여기다가 빼야겠다.
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.
헤헤 알아봐주셔서 감사합니다
lifecycleScope.launch { | ||
enterInviteCodeViewModel.connectState.collect { responseCode -> | ||
if (responseCode == "204") { | ||
[email protected]("커플 연결에 성공했습니다") |
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.
Extract string resource
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.
어머나
onBoardingRepository.postCheckConnection(inviteCode = inviteCode.value) | ||
}.fold({ | ||
connectState.emit(it.code().toString()) | ||
Timber.d("커플 연결 통신에 성공했습니다. code = ${it.code()}") |
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.
ditto
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="4dp" | ||
android:text="입력하신 코드 정보를 찾을 수 없어요" |
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.
ditto
5c700c3
to
9b4d532
Compare
📌 관련 이슈
📷 screenshot
default.mp4
📝 Work Desciption
📚 Reference 혹은 궁금한 사항들