Skip to content

feat: 7주차 미션_우가#52

Open
sua710 wants to merge 5 commits into
mainfrom
wooga-m7
Open

feat: 7주차 미션_우가#52
sua710 wants to merge 5 commits into
mainfrom
wooga-m7

Conversation

@sua710
Copy link
Copy Markdown
Collaborator

@sua710 sua710 commented May 13, 2026

📌 PR 제목

feat: 7주차 미션

🔗 관련 이슈

Closes #이슈번호

✨ 변경 사항

  • 7주차 Compose Migration 미션 반영
  • 메인 화면 하단 BottomNavigation 탭 연결
  • 홈, 구매하기, 위시리스트, 장바구니, 프로필 화면 연결
  • 장바구니 화면의 주문하기 버튼 클릭 시 구매하기 탭으로 이동하도록 구현
  • 프로필 화면 프로필 수정 버튼 스타일 수정
  • 프로필 화면 하단 네비게이션 위에 회원 가입일: 2025년 9월 표시 추가
  • 하단 네비게이션에서 선택 여부와 관계없이 아이콘과 텍스트가 함께 보이도록 수정
  • 위시리스트가 실제 관심 상품 상태를 기준으로 동작하도록 정리
  • 프로필 화면 로딩 표시가 UI를 가리지 않도록 수정

🔍 테스트

  • 테스트 완료
  • 에러 없음

📸 스크린샷 (선택)

🚨 추가 이슈

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

PR에 빌드 결과물(build/ 폴더)이 포함되어 올라온 것 같아요!
자동 생성되는 Binding 클래스나 Hilt 파일들은 커밋에 포함되면 안 돼요 .......😵

.gitignore에 아래 내용이 있는지 확인해주세요!

/build
/app/build

그리고 이미 트래킹된 경우엔 아래 명령어로 제거해주세요!
git rm -r --cached app/build
git rm -r --cached build

}

@Composable
private fun HomeScreen() {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

스크린들 파일 각각 분리하는게 좋을 것 같아요!

import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

리사이클러 대신 listadapter와 DiffUtil을 사용하여 데이터 변경 시 변경된 부분만 효율적으로 만든 점이 좋은것같아요

import androidx.fragment.app.Fragment
import com.example.nike.R

class ProductDetailActivity : Fragment() {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

파일 이름은 Activity인데 코드 내용은 Fragment로 되어 있습니다. 네이밍과 실제 역할이 일치하도록 수정하는 게 좋을 거 같아요!

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.

5 participants