Skip to content

[산군] 뷰 챌린지 미션 3단계 제출합니다.#61

Merged
chws0508 merged 33 commits into
woowacourse:s9hnfrom
s9hn:step3
Oct 18, 2023
Merged

[산군] 뷰 챌린지 미션 3단계 제출합니다.#61
chws0508 merged 33 commits into
woowacourse:s9hnfrom
s9hn:step3

Conversation

@s9hn

@s9hn s9hn commented Oct 14, 2023

Copy link
Copy Markdown

Hello! scaaaattt!
It's already our last mission :)

I did implement your request that is in last review and reactive UI of dark mode, tablet(landscape, portrait).

Request

Requirements

  • 태블릿 디바이스의 세로(portrait)/가로(landscape)화면에서 어색해보이지 않도록 구현한다.
  • 다크모드를 대응한다.

Selection requirements

  • 태블릿 디바이스의 세로(portrait)화면 대응 시 ConstraintLayout만 활용하여 구현한다.

Result

tablet(landscape)

Pasted Graphic 1

tablet(portrait)

Pasted Graphic

darkmode

롤

Have fun with lol !! I'm always rooting for you.
dojo yo ro si ku o ne gai for this mission ! :))

@s9hn s9hn changed the title [hi] [산군] 뷰 챌린지 미션 3단계 제출합니다. Oct 14, 2023

@chws0508 chws0508 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

저도 영어로 답할게요~
Hello, sangoooooon,
You did a good job of implementing the mission.
I think abstraction was done better than before.
And, the current mission no longer looks like a review is needed.
But, I just saw comments that you left in the previous PR.
So I wrote some replies to that comments.
If you check my replies, and then I merge this PR.

Comment on lines +6 to +22
abstract class DrawableTool(
open val line: Line,
private val reset: () -> Unit
) : Painter {

fun setWidth(width: Float) {
line.brush.changeBrushWidth(width)
}

fun setColor(color: Int) {
line.brush.changeBrushColor(color)
}

override fun finishPainting() {
reset.invoke()
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

abstratClass 👍


abstract class EraseTool : Painter {

override fun finishPainting() {}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

저는 개인적으로 함수의 내용이 없다면, Unit 이라는 표현을 쓰는것을 선호합니당

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

SOLID의 ISP 원칙..

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@DYGames 코건도 이런 식으로 구현하지 않는 인터페이스가 있었던 것 같은데... 🤔

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@woowahan-leah
문제 파악 -> 해결 방안 구상 -> 해결 -> 선한 영향력 전파 (남의 PR에 코멘트 달기)까지..
전 또 성장했습니다...

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

image

@chws0508 chws0508 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

산군 이번 미션 고생 많으셨습니다!
안드 쌩초보시절 만나서 페어를 진행했었는데,
지금 다시 코드 리뷰를 해보니,
산군도 저도 많이 성장한 것 같이 느껴져서 뿌듯하네요ㅎㅎ
남은 우테코 기간 같이 힘내서 같이 더 성장해보도록 해요!
화이팅!!

@chws0508 chws0508 merged commit e6b6093 into woowacourse:s9hn Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants