-
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
#46 [ui] 루틴 완료 시 보이는 화면 #47
Conversation
…tine-complete # Conflicts: # app/src/main/AndroidManifest.xml
…tine-complete # Conflicts: # app/src/main/AndroidManifest.xml # app/src/main/java/com/sopetit/softie/ui/dailyroutine/DailyRoutineFragment.kt # app/src/main/java/com/sopetit/softie/ui/happyroutine/addlist/HappyAddListViewModel.kt
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.
소프티 안드로이드 폼 미쳤다.
- 03 김민져이 대타-
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.
졸귀탱,, 완료뷰 로티하느라 고생하셨습니당! 감사합니다 ...
private fun getBundle() { | ||
bundle = Bundle().apply { | ||
putSerializable("key", Bear.RED) | ||
} | ||
} | ||
|
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.
유저가 선택한 곰돌이 정보를 번들로 묶어서 보내주는 건가용?
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.
맞습니다! string 값이 아니라 bundle로 묶어서 보내고 잇습니다.
performRoutineCompletion() | ||
} | ||
|
||
private fun setTextAndLottieByCottonType() { |
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.
유틸로 한방에 끝내셨군요 짱짱
private fun setTextAlpha() { | ||
binding.tvRoutineCompleteTitle.alpha = TRANSPARENT | ||
binding.tvRoutineCompleteSubtitle.alpha = TRANSPARENT | ||
} |
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.
글자가 서서히 사라지게 하는 �코드인가요?.?
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.
글자가 서서히 나타나는 코드입니다! 사라지는 거는 1f -> 0f로만 숫자 순서를 바꿔주면 되겠네요
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.
리드님 덕에 든든하다 고생했습니다!!!
} | ||
|
||
private fun setDailyRoutineImage() { | ||
val bearDrawableMap = mapOf( |
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.
mapOf이 when문으로 묶는 것보다 효율적인가요??
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.
클린코드에서는 switch나 if, when등을 사용한 분기처리를 최대한 금하고 있습니다!
그래서 map으로 바꿔봤는데 사실 제가 보기엔 거기서 거기같긴 합니다.
📑 Work Description
🛠️ Issue
📷 Screenshot
Screen_recording_20240115_001709.mp4
💬 To Reviewers