Skip to content

[#2] Home 화면 디자인#3

Open
KJ-Hyeon wants to merge 4 commits intomainfrom
feature/ui
Open

[#2] Home 화면 디자인#3
KJ-Hyeon wants to merge 4 commits intomainfrom
feature/ui

Conversation

@KJ-Hyeon
Copy link
Copy Markdown
Collaborator

홈 화면 디자인 작업

  • 루틴 프로그래스바
  • 날짜별 루틴 리스트
  • 루틴 추가 바텀시트

@KJ-Hyeon KJ-Hyeon requested a review from theo-f-lab April 19, 2026 11:48
fun RoutineProgress(
modifier: Modifier,
progress: Float
) {
Copy link
Copy Markdown

@theo-f-lab theo-f-lab Apr 19, 2026

Choose a reason for hiding this comment

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

Q) 이렇게 작성하는 Composable을 뭐라고 표현할까요?(stateless? stateful?)

Q2) stateless? stateful?에 대해 설명해주세요

.fillMaxWidth()
.height(6.dp)
) {
val radius = size.height / 2
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Q) 이 radius는 몇번이 계산될까요?

Q2) 리컴포지션에 대해서 설명해주세요

)

drawRoundRect(
color = Color(0xFF6c63ff),
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Q) Color 정의하는 다른 방식은 없나요?

var selectedIcon by remember { mutableStateOf("") }
var startTime by remember { mutableStateOf("") }
var durationTime by remember { mutableStateOf("") }
var selectedDates by remember { mutableStateOf(setOf<DayOfWeek>()) }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Q) remember에 대해서 설명해주세요.
Q2) mutableStateOf에 대해서 설명해주세요.

var checkTest by remember { mutableStateOf(false) }

Scaffold(
modifier = Modifier.fillMaxSize(),
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Q) fillMaxSize() 가 어떻게 다른가요?


var checkTest by remember { mutableStateOf(false) }

Scaffold(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

q) Scaffold가 어떤 용도인가요?

dayOfWeekList = dayOfWeekList,
) { /** 해당 날짜 루틴 목록 업데이트 **/ }

Row(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Q) Row/Column 에 대해서 설명해주세요

modifier = Modifier
.fillMaxWidth()
.padding(top = 12.dp),
horizontalArrangement = Arrangement.SpaceBetween
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Q) horizontalArrangement 기준으로 Arrangement의 종류가있는데 종류별로 어떤 UI가 그려지는지 설명해주세요

}
}

LaunchedEffect(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.

Q) LaunchedEffect는 안드로이드 액티비티 라이프사이클에서 어떻게 동작될까요?
ex) 화면을 홈으로 내렸을때 종료하였을 경우 코드에서 어떻게 동작될까요?

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
enableEdgeToEdge()
enableEdgeToEdge(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

q) enableEdgeToEdge 에 대해서 설명해주세요

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.

2 participants