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] 상품 상세 뷰 구현 #27

Merged
merged 19 commits into from
May 23, 2024
Merged

Conversation

jihyunniiii
Copy link
Contributor

@jihyunniiii jihyunniiii commented May 23, 2024

Related issue 🛠

Work Description ✏️

  • 상품 상세 뷰 구현

Screenshot 📸

Screen_recording_20240523_171142.mp4

Uncompleted Tasks 😅

  • N/A

To Reviewers 📢

  • 제송합니다,, 이슈번호,, 잘못 써서,, 푸쉬했어요,,
  • 스타일 부분 이미지가 뜨지 않아서 (다른 url이 들어오는 것 같습니다 ㅜ) 서버 측에 문의 드린 상태입니다 ㅜ -> 해결 완!
  • 스타일 부분 리사이클러뷰로 구현하고 싶었는데 죽어도 안 되더라구요? 무식하게 구현했습니다,, ㅋㅋ

Copy link
Contributor

@Hyobeen-Park Hyobeen-Park left a comment

Choose a reason for hiding this comment

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

커스텀하신거 진짜 감탄하면서 봤습니다... 최고에욤!! 정말 수고하셨습니다!! 마지막까지 파이팅❤️


companion object {
const val MEMBER_ID = 1
}
Copy link
Contributor

Choose a reason for hiding this comment

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

오 여기다가 상수로 선언해주니까 좋네요!!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

크크 상수화 잘 하면 가독성이 더 높아지는 것 같숨니다

tvProductDetailInfoAdditionalContent.text = productDetailInfoModel.additionalContent
ivProductDetailInfoAdditionalContent.visibility = if (productDetailInfoModel.additionalContent.isNullOrEmpty()) View.INVISIBLE else View.VISIBLE
(viewProductDetailInfo.layoutParams as? ViewGroup.MarginLayoutParams)?.run {
marginStart = productDetailInfoModel.productDetailInfoType.margin.toPx()
Copy link
Contributor

Choose a reason for hiding this comment

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

오!! 여기서 마진 설정한거 맞나요??? 우왕 저 저번에 실패했던건데...!! 오오오오

Copy link
Contributor Author

Choose a reason for hiding this comment

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

맞숩니당 ~ 아이템마다 마진 값이 달라서 여기서 설정해 주었어요

@jihyunniiii jihyunniiii merged commit 00eff76 into develop May 23, 2024
1 check passed
@jihyunniiii jihyunniiii deleted the feat-product-detail-view branch May 23, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[feat] 상품 상세 뷰 구현
2 participants