-
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] component picker 구현 #32
base: develop
Are you sure you want to change the base?
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/util/constant/DateConstant.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/android/bbangzip/presentation/component/wheelpicker/BbangZipPicker.kt
Show resolved
Hide resolved
app/src/main/java/org/android/bbangzip/presentation/component/wheelpicker/BbangZipPicker.kt
Show resolved
Hide resolved
app/src/main/java/org/android/bbangzip/presentation/component/wheelpicker/BbangZipPicker.kt
Outdated
Show resolved
Hide resolved
Modifier | ||
.onSizeChanged { size -> itemHeightPixels.intValue = size.height } | ||
.padding(8.dp) | ||
.then(textModifier), |
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
이걸 사용한 이유가 무엇인가요?
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.
text의 확장성을 확 늘려줍니다!
app/src/main/java/org/android/bbangzip/presentation/component/wheelpicker/BbangZipDatePicker.kt
Outdated
Show resolved
Hide resolved
@Composable | ||
fun Picker( | ||
items: List<String>, | ||
state: MutableState<String>, |
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.
p2
상태 호이스팅을 하지않고 mutableState로 선언하신 이유가 있나요?
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.
상태 동기화 측면에서 MutableState를 전달하는 것이 더 좋다고 하여 처음엔 전달하게 되었습니다.
저희의 구조상 상태 흐름을 명확하게 해야 생각해서 바꾸도록 하겠습니다.
다른 분들은 어떻게 생각하시나요?
Related issue 🛠
Work Description ✏️
Screenshot 📸
datepicker.mp4
semesterPicker.mp4
Uncompleted Tasks 😅
To Reviewers 📢
현재 시각 8:23 기능적으로는 구현이 된것 같지만 확장성, 유지보수 측면에서 제대로 못했을 수 있으니 잘 봐주십쇼!