Skip to content
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

Merged
merged 25 commits into from
Jan 14, 2024

Conversation

stellar-halo
Copy link
Contributor

@stellar-halo stellar-halo commented Jan 14, 2024

📑 Work Description

  • 행복, 데일리 루틴 완료 시 보이는 뷰 작업했습니다!

🛠️ Issue

📷 Screenshot

Screen_recording_20240115_001709.mp4

💬 To Reviewers

@stellar-halo stellar-halo added UI ui 관련 작업 Pull Request pr 날림! 강희🐬 강희가 작업함! labels Jan 14, 2024
@stellar-halo stellar-halo self-assigned this Jan 14, 2024
@stellar-halo stellar-halo marked this pull request as draft January 14, 2024 09:48
…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
@stellar-halo stellar-halo marked this pull request as ready for review January 14, 2024 15:17
@stellar-halo stellar-halo requested a review from Chan531 January 14, 2024 16:49
Copy link

@Chan531 Chan531 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

소프티 안드로이드 폼 미쳤다.

  • 03 김민져이 대타-

Copy link
Member

@minemi00 minemi00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

졸귀탱,, 완료뷰 로티하느라 고생하셨습니당! 감사합니다 ...

Comment on lines +37 to +42
private fun getBundle() {
bundle = Bundle().apply {
putSerializable("key", Bear.RED)
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

유저가 선택한 곰돌이 정보를 번들로 묶어서 보내주는 건가용?

Copy link
Contributor Author

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() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

유틸로 한방에 끝내셨군요 짱짱

Comment on lines +56 to +59
private fun setTextAlpha() {
binding.tvRoutineCompleteTitle.alpha = TRANSPARENT
binding.tvRoutineCompleteSubtitle.alpha = TRANSPARENT
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

글자가 서서히 사라지게 하는 �코드인가요?.?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

글자가 서서히 나타나는 코드입니다! 사라지는 거는 1f -> 0f로만 숫자 순서를 바꿔주면 되겠네요

Copy link
Collaborator

@pump9918 pump9918 left a 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(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mapOf이 when문으로 묶는 것보다 효율적인가요??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

클린코드에서는 switch나 if, when등을 사용한 분기처리를 최대한 금하고 있습니다!
그래서 map으로 바꿔봤는데 사실 제가 보기엔 거기서 거기같긴 합니다.

@stellar-halo stellar-halo merged commit 9305f2d into develop Jan 14, 2024
1 check passed
@stellar-halo stellar-halo deleted the feature/#46-ui-routine-complete branch January 14, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pull Request pr 날림! UI ui 관련 작업 강희🐬 강희가 작업함!
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

루틴 완료 뷰(솜 획득)
4 participants