Skip to content

남녀노소 안드로이드 코딩 컨벤션

Jangjh edited this page Nov 14, 2023 · 11 revisions

남녀노소 안드로이드 코딩 컨벤션

기본적으로 Kotlin 에서 제공하는 코딩 컨벤션을 따릅니다.

남녀노소 안드로이드 팀만의 규칙

Kotlin

Jetpack Compose

Modifier

Modifier 에 메서드를 두 번 이상 사용하는 경우, 다음과 같이 작성합니다.

  • 좋은 예
Box(
    modifier = modifier
        .clip(shape = RoundedCornerShape(8.dp))
        .fillMaxWidth()
    ) {
    ...
}
  • 나쁜 예
Box(
    modifier = modifier.clip(shape = RoundedCornerShape(8.dp)).fillMaxWidth()) {
    ...
}

Named-Parameter

엄격히 지키려 하지는 않지만, Named-Parameter 를 지향합니다. 두 개 이상의 파라미터를 작성해야 하는 경우, 줄바꿈과 함께 Named-Parameter 를 사용해주세요.

  • 좋은 예
StyledText(
    modifier = Modifier.align(Alignment.Center),
    text = buttonText,
    style = Typography.labelLarge,
    color = if (isEnabled) Color.White else DisabledFontInDark
)

👪 남녀노소 Tech Blog

🤔 우리는 왜 이런 선택을 했는가?

🗣 Ground Rule

💃 MoveMove

🌱 Daily Scrum

1주차
2주차
3주차
4주차
5주차
6주차

✏️ MoveMove 개발 일지

김민조

장지호

조준장

장민석

하채리

🐣 개인회고

김민조
장지호
조준장
장민석
하채리

🐥 팀회고

Clone this wiki locally