Skip to content

2주차 미션 / 2조 조은서#16

Open
taskcho123 wants to merge 2 commits intoKonkuk-KUIT:taskcho123from
taskcho123:choeunseo-week2
Open

2주차 미션 / 2조 조은서#16
taskcho123 wants to merge 2 commits intoKonkuk-KUIT:taskcho123from
taskcho123:choeunseo-week2

Conversation

@taskcho123
Copy link
Copy Markdown

1. 미션

각 주차에 해당하는 미션 체크리스트

  • 뉴스 화면 구현하기
  • [o] 앱 아이콘
  • [o] 상단 카테고리
  • [o] 기사 이미지
  • [o] 기사 본문(이미지 오른쪽 부분)
  • 기사 본문과 카테고리를 더욱 늘려 lazyView 실 사용하기
  • [o] 카테고리
  • [o] 기사

2. 구현에 대한 설명

본인이 구현한 것에 대한 설명

  • 컴포넌트 분리
  • newsitem 객체, 분류라벨 리스트로 관리
  • checkable 속성부여

3. 스크린샷 & 실행영상

실행영상이 있다면 실행영상을, 없다면 스크린샷 첨부

스크린샷 2026-03-26 오후 10 25 03

4. 기타

기타 문의사항이나 질문사항, 그 외 하고싶은 말

  • 다음주차 기대되네요!! 수고하셨습니다!

Copy link
Copy Markdown

@AyoungSe0 AyoungSe0 left a comment

Choose a reason for hiding this comment

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

MainActivity에서 Week02() 호출해주시면 실행 화면에서도 구현 내용을 확인하실 수 있습니다! 각 파일 별로 프리뷰로 확인하는 습관 너무 좋은 것 같아요~
뉴스 로고 이미지, 시계 아이콘, 더보기 아이콘 등이 반 되어 있지 않네요! 해당 부분까지 추가되면 더 좋을 것 같습니다~
전반적으로 컴포넌트를 분리해서 구조적으로 너무 잘 해주셨습니다!!

modifier = Modifier.fillMaxWidth(),
horizontalArrangement = Arrangement.SpaceBetween
) {
Text(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

TextStyle(shadow) 추가해주시면 피그마와 디자인을 일치시킬 수 있습니다!

horizontalArrangement = Arrangement.spacedBy(10.dp)
) {
items(LabelItem.getLabelList()){ item ->
Text(text = item, fontSize = 16.sp)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

if 를 사용해서 color 속성을 바꿔주면 피그마 디자인과 일치시킬 수 있습니다!
예) color = if (index == 0) Color.Black else ...

verticalArrangement = Arrangement.spacedBy(16.dp)
) {
items(NewsItem.getNewsItemList()){item ->
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.

뉴스 아이템을 별도 컴포넌트로 분리하면 더 좋을 것 같습니다!

fontSize = 13.sp,
color = Color(0xFF4E4B66)
)
Text(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

긴 텍스트에 대응하기 위해 maxLines/overflow 처리가 필요해 보입니다!
예) maxLines = 2, overflow = TextOverflow.Ellipsis

@Composable
fun Week02(modifier: Modifier = Modifier) {
Box(
modifier = Modifier.padding(24.dp)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

상하좌우에 패딩이 들어가서, 하단에는 패딩이 적용 안되도록 수정하는 게 좋을 것 같습니다!
예) .padding(start = 24.dp, top = 24.dp, end = 24.dp)

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.

3 participants