-
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
#85 [hotfix] 홈 뷰 로티 수정 #88
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.
이른 시간까지 고생 많으셨습니다!!!
override fun getBearType(): String = localDataSource.bearType | ||
override fun setBearType(bearType: String) { | ||
localDataSource.bearType = bearType | ||
} |
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.
코드는 어디선가 날라온 전부 남의 것,,,ㅎㅎ
private val authRepository: AuthRepository | ||
) { | ||
operator fun invoke(bearType: String) = | ||
authRepository.setBearType(bearType) |
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.
유스케이스 set과 get 두개를 만드셨군요!
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.
꼼꼼한 체킹과 재사용성을 고려한 코드 멋집니다
} | ||
|
||
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 손이 잘 안갔는데 확실히 깔끔하네요
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.
저도 저번에 코리받고 수정했습니다!
@@ -85,11 +87,12 @@ class HappyProgressFragment : | |||
doBtnColor = R.drawable.shape_main1_fill_12_rect, | |||
backBtnAction = {}, | |||
doBtnAction = { | |||
moveToHappyRoutineEmptyCardView() | |||
startHappyRoutineCompleteActivity() |
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.
수고하셨습니당
val bearDrawableMap = mapOf( | ||
BROWN to R.drawable.ic_bear_handsup_brown, | ||
GRAY to R.drawable.ic_bear_handsup_gray, | ||
RED to R.drawable.ic_bear_handsup_red, | ||
WHITE to R.drawable.ic_bear_handsup_panda |
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.
굿구웃 👍
📑 Work Description
🛠️ Issue
📷 Screenshot
lottie.mp4
💬 To Reviewers