-
Notifications
You must be signed in to change notification settings - Fork 0
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] Button 컴포넌트 구현 #19
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.
고생하셨습니다!
app/src/main/java/org/android/bbangzip/presentation/type/BbangZipButtonType.kt
Show resolved
Hide resolved
app/src/main/java/org/android/bbangzip/presentation/component/button/BbangZipButton.kt
Outdated
Show resolved
Hide resolved
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/src/main/java/org/android/bbangzip/presentation/component/button/BbangZipButton.kt
Show resolved
Hide resolved
vertical = bbangZipButtonSize.verticalPadding, | ||
), | ||
leadingIcon = { | ||
if (leadingIcon != null) { |
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.
p5
Base를 하나 만들어두고, SolidButton Outlined Button 이런 식으로 구성하면 안 들어오면 렌더링 자체가 되지 않으니 leadingIcon이나 trailingIcon이 null인 경우를 처리해줄 필요가 업서요! 이런 식으로 분리하는 방법도 있음을 알아주셔라
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/src/main/java/org/android/bbangzip/presentation/type/BbangZipButtonType.kt
Show resolved
Hide resolved
# Conflicts: # app/src/main/res/values/strings.xml
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.
LGTM
Related issue 🛠
Work Description ✏️
Screenshot 📸
default.mp4
Uncompleted Tasks 😅
To Reviewers 📢
일단 구조에대해서 리뷰를 좀 받고 다시 해야할 것 같습니다.
혼자 고민을 해봤는데 너무 오래걸렸고 확장성 측면에서 하나도 고려되지 않은 느낌이라 도움을 받고 싶습니다.