feat: 상점 아이템 목록 구현#15
Merged
Merged
Conversation
se05503
reviewed
Jan 19, 2026
se05503
left a comment
Contributor
There was a problem hiding this comment.
피드백 내용
좋은 점
- 상태 관리 명확함 (ItemType, ItemStatus)
- Adapter holder에서 상태에 따라 동적으로 UI를 변경한 로직
아쉬운 점/개선할 점
- [P2] ItemAdapter 코드 위치
- 내용: ItemAdapter 에서 UI 바인딩 코드를 onBindViewHolder 내부에다가 작성하셨는데, ItemViewHolder 클래스로 옮기는걸 고려해봐도 좋을것 같아요
- 이유: onBindViewHolder는 holder에다가 특정 위치의 아이템을 제공하는게 일반적이고, UI 연결은 보통 뷰홀더 클래스 내부에서 하는 편이에요
궁금한 점
- price 변수를 Int나 Float가 아닌 Price 객체 타입으로 선언한 이유가 궁금해요. 음수 예외처리가 필요해서 그런걸까요??
총평
- 깔끔한 UI, 명확한 상태 관리, 예외 처리, 테스트까지 정말 수고하셨습니다!
Collaborator
Author
|
말씀하신대로 어댑터가 모든 것을 관리하기 보다 뷰 홀더가 UI 관리 책임을 가지는 것이 더 좋은 것 같습니다.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 작업 내용
상점 아이템 목록 구현했습니다.
사용한 임시 데이터
📸 스크린샷
10042.mp4
✅ 체크리스트