-
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
[faet] 대기 상세 화면 API 구현 #22
Conversation
얘도 아래 이슈들 필수적으로 해결하고 머지해주세영
|
orderId는 제가 화면 연결하면서 넘겨주께용 요건 아직 신경쓰지 않아두 될 것 가타오 |
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.
저는 와비 때,,, 앱잼 때까지도 서버 통신을 엄청 어려워 했었는데,, 진짜 야무지게 잘 하시네용
수정사항만 고치구 머지하세영 .
잊지 말구 트슛도 작성해주시구
여행이랑 합세 병행하느라 힘드셨을텐데 야무지게 맡은 부분 잘 해줘서 너무 고마워용
부족한 리드랑 합세 하시느라 고생하셨슴다 ㅋㅋ ㅠ
수고했어영 ~~
민우 오빠 체고!
fun getWaitingDetail(orderId: Int) { | ||
viewModelScope.launch { | ||
val response = | ||
kotlin.runCatching { ServicePool.waitingDetailService.getWaitingDetail(orderId) } |
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.
kotlin.runCatching { ServicePool.waitingDetailService.getWaitingDetail(orderId) } | |
runCatching { ServicePool.waitingDetailService.getWaitingDetail(orderId) } |
지워줘두 됩니둥
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.
고생많으셨습니당 ~~ API 구현 어떠셨나요?? 전 멀티뷰타입에 서버통신결과값 따라 뷰타입 달리하는게 너무 어려워서 눈물이 났어요..ㅜ,ㅜ 여행 즐기길
0, | ||
"맛있어요", | ||
) | ||
fun getWaitingDetail(orderId: Int) { |
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.
하 뷰모델에서 서버통신하는 거 이거 넘 탐나구 넘 하고 싶은데욥 이번 주 세미나 때 열공빡공해보겠습니다
@@ -60,7 +62,7 @@ | |||
android:layout_marginTop="3dp" | |||
android:text="@{@string/waiting_number_primary(waitingData.waitingNumber)}" | |||
android:textAppearance="@style/TextAppearance.H2" | |||
android:textColor="@color/primary" | |||
android:textColor="@{waitingData.orderStatus == @string/waiting_status_ing ? @color/primary : @color/gray_100}" |
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.
오호라 다 바꾸셨군요.. 세미나를 안 듣고 어떻게 이렇게 딱 세미나에 맞게 하시는 건지 대단합니다링
app:layout_constraintEnd_toStartOf="@+id/btn_waiting_detail_location" | ||
app:layout_constraintHorizontal_bias="0.5" | ||
app:layout_constraintHorizontal_chainStyle="packed" |
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.
왕 이건 첨보네요 packed!! bias 0.5도 나쁘지 않다고 생각하는데 이걸로 바꾼 이유가 있나요?
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.
사실 상 layout_constraintHorizontal_bias="0.5"
는 필요 없어서 지워주는 게 낫습니당
packed는 체인 속성을 준 거예요 !
constraintLayout에는 체인이라는 게 있는데 요거 한 번 공부해보면 좋을 것 같네용
체인을 적절히 잘 쓰면 뷰 구현하는 게 좀 편리한 것 같아요 (개인적 생각,,)
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/tv_waiting_detail_number" /> | ||
|
||
<Button | ||
android:id="@+id/btn_waiting_detail_location" | ||
style="@style/Style.Material3.Button.Outlined.Custom" | ||
android:layout_width="wrap_content" | ||
android:layout_height="0dp" | ||
android:layout_width="0dp" |
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.
정렬하구 다시 풀리퀘하셨군욥 ㅎ.ㅎ
Work Description ✏️
Screenshot 📸
Uncompleted Tasks 😅
To Reviewers 📢