-
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/#63] 메인-문답-답변 API 연결 #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("response_case") | ||
val responseCase: Int, | ||
@SerialName("invite_code") | ||
val inviteCode: String?, | ||
@SerialName("invite_username") | ||
val inviteUserName: String?, | ||
@SerialName("install_url") | ||
val installUrl: String?, | ||
@SerialName("relative_user_active") | ||
val relativeUserActive: Boolean? |
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.
언더바 뺀거 아주 좋습니다. 명세서가 있다고 완전히 똑같이 네이밍하지 않아도 되기 때문이죠!!
저희는 변수명에 언더바를 넣지 않기 때문에 너무 잘 하셨습니다 👍
@@ -70,7 +70,7 @@ | |||
app:chipMinHeight="26dp" | |||
app:textEndPadding="12dp" | |||
app:textStartPadding="12dp" | |||
tools:text="# 타임머신" /> | |||
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.
이 부분 텍스트 추출 함 합시다!!
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 clipboard: ClipboardManager = | ||
requireActivity().getSystemService(CLIPBOARD_SERVICE) as ClipboardManager | ||
val clip = ClipData.newPlainText("label", binding.tvInviteCode.text) | ||
clipboard.setPrimaryClip(clip) | ||
Toast.makeText(requireActivity(), "초대 코드가 복사되었습니다", Toast.LENGTH_SHORT).show() |
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.
클립보드 써본적이 없었는데 생각보다 간단하고 코드가 너무 깔끔하네요
저도 배워갑니다!!
🎀 Related Issues
close #63
🤔 What Did You Do
한 이슈에 우다다 했는데.. 계속 변동사항이 있고, 테스트가 필요한 부분이 있습니다.
리스트 api 연결 pr 올리기 위해서 지금 올립니다! 테스트 후 수정 필요한 부분들은 새로 이슈파서 작성하도록 하겠습니다.