Open
Conversation
theo-f-lab
reviewed
Apr 19, 2026
| fun RoutineProgress( | ||
| modifier: Modifier, | ||
| progress: Float | ||
| ) { |
There was a problem hiding this comment.
Q) 이렇게 작성하는 Composable을 뭐라고 표현할까요?(stateless? stateful?)
Q2) stateless? stateful?에 대해 설명해주세요
theo-f-lab
reviewed
Apr 19, 2026
| .fillMaxWidth() | ||
| .height(6.dp) | ||
| ) { | ||
| val radius = size.height / 2 |
There was a problem hiding this comment.
Q) 이 radius는 몇번이 계산될까요?
Q2) 리컴포지션에 대해서 설명해주세요
theo-f-lab
reviewed
Apr 19, 2026
| ) | ||
|
|
||
| drawRoundRect( | ||
| color = Color(0xFF6c63ff), |
theo-f-lab
reviewed
Apr 19, 2026
| var selectedIcon by remember { mutableStateOf("") } | ||
| var startTime by remember { mutableStateOf("") } | ||
| var durationTime by remember { mutableStateOf("") } | ||
| var selectedDates by remember { mutableStateOf(setOf<DayOfWeek>()) } |
There was a problem hiding this comment.
Q) remember에 대해서 설명해주세요.
Q2) mutableStateOf에 대해서 설명해주세요.
theo-f-lab
reviewed
Apr 19, 2026
| var checkTest by remember { mutableStateOf(false) } | ||
|
|
||
| Scaffold( | ||
| modifier = Modifier.fillMaxSize(), |
theo-f-lab
reviewed
Apr 19, 2026
|
|
||
| var checkTest by remember { mutableStateOf(false) } | ||
|
|
||
| Scaffold( |
theo-f-lab
reviewed
Apr 19, 2026
| dayOfWeekList = dayOfWeekList, | ||
| ) { /** 해당 날짜 루틴 목록 업데이트 **/ } | ||
|
|
||
| Row( |
theo-f-lab
reviewed
Apr 19, 2026
| modifier = Modifier | ||
| .fillMaxWidth() | ||
| .padding(top = 12.dp), | ||
| horizontalArrangement = Arrangement.SpaceBetween |
There was a problem hiding this comment.
Q) horizontalArrangement 기준으로 Arrangement의 종류가있는데 종류별로 어떤 UI가 그려지는지 설명해주세요
theo-f-lab
reviewed
Apr 19, 2026
| } | ||
| } | ||
|
|
||
| LaunchedEffect(Unit) { |
There was a problem hiding this comment.
Q) LaunchedEffect는 안드로이드 액티비티 라이프사이클에서 어떻게 동작될까요?
ex) 화면을 홈으로 내렸을때 종료하였을 경우 코드에서 어떻게 동작될까요?
theo-f-lab
reviewed
Apr 19, 2026
| override fun onCreate(savedInstanceState: Bundle?) { | ||
| super.onCreate(savedInstanceState) | ||
| enableEdgeToEdge() | ||
| enableEdgeToEdge( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
홈 화면 디자인 작업