-
Notifications
You must be signed in to change notification settings - Fork 1
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
[UI/#12] 홈뷰 / 홈 기본 화면 구현 #47
Conversation
# Conflicts: # feature/src/main/res/values/strings.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stickyHeader 스무스하게 해내셨네요,,,,,,,,짱
verticalArrangement = Arrangement.Center, | ||
) { | ||
Image( | ||
painter = painterResource(id = R.drawable.ic_empty_logo), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ic_empty_logo가 저랑 겹치는 아이콘,.! 화긴
HomeFilteringText( | ||
text = grade.toString() + stringResource(id = R.string.home_recommend_filtering_grade), | ||
modifier = Modifier | ||
.padding(vertical = 7.dp, horizontal = 28.dp), | ||
) | ||
HomeFilteringDivider() | ||
HomeFilteringText( | ||
text = stringResource( | ||
id = when (period) { | ||
1 -> R.string.home_recommend_filtering_working_period_1 | ||
2 -> R.string.home_recommend_filtering_working_period_2 | ||
3 -> R.string.home_recommend_filtering_working_period_3 | ||
else -> R.string.server_failure | ||
} | ||
), | ||
modifier = Modifier | ||
.padding(vertical = 7.dp, horizontal = 25.dp) | ||
) | ||
HomeFilteringDivider() | ||
HomeFilteringText( | ||
text = month.toString() + stringResource(id = R.string.home_recommend_filtering_month), | ||
modifier = Modifier | ||
.padding(vertical = 7.dp) | ||
.padding(start = 34.dp, end = 13.dp) | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 뭔가 반복을 줄일 방법이 있우묜,,,,,있을까요....?음!!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아 진짜 여기가 반복이 너무 심한데 묘하게 패딩 값 등이 달라서 어떻게 해결할 수 있을지 모르겠네요ㅜㅜ 계속 고민해보겠습니다!! 감사해요:)
} | ||
Image( | ||
painter = painterResource(id = R.drawable.ic_home_bookmark_28), | ||
contentDescription = "scrap", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 하드코딩있어용!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
웁씨 여기를 놓쳤네요!! 근데 이게 컴포넌트로 수정될 예정이라 혹시 적용 안되어있으면 수정할게요!
HomeTodayIntern() | ||
} | ||
} | ||
stickyHeader { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stickyHeader!!! ㄷ ㄷ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM~~~!!!
|
||
HomeFilteringScreen(3, 1, 7) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 named argument 추가해주세요!!
# Conflicts: # feature/src/main/java/com/terning/feature/home/HomeRoute.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
너무 잘하셨네요!! LGTM~
Text( | ||
text = stringResource( | ||
id = R.string.home_today_title_start | ||
) | ||
+ "남지우" | ||
+ stringResource( | ||
id = R.string.home_today_title_end | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Text( | |
text = stringResource( | |
id = R.string.home_today_title_start | |
) | |
+ "남지우" | |
+ stringResource( | |
id = R.string.home_today_title_end | |
), | |
Text( | |
text = stringResource(id = R.string.home_today_title, "남지우" | |
), |
와 같은 방식으로 수정하는게 좋아보여요!!
문자열 리소스에서 변수를 넣을 부분을 %s
로 지정하면 됩니다!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와우 진짜 감사합니다!!
⛳️ Work Description
📸 Screenshot
Screen_Recording_20240711_070948_Terning-Android.mp4
📢 To Reviewers