Skip to content
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

[Feature/challenge frame drop]: 프레임 버벅임 수정 #288

Merged
merged 7 commits into from
Jan 30, 2025

Conversation

kez-lab
Copy link
Member

@kez-lab kez-lab commented Jan 29, 2025

개요

작업 사항

  • �예측 원인: 기존에는 Challenge Tab에서 UI에 많은 동작을 진행중이여서 이 부분에서 프레임 버벅임이 발생한다고 의심
  • 실제 원인: 하지만 실제로는 MainActivity에서 Fragment 를 replace하는 과정이 무거워서 발생하는 문제로 확인
    • 이유1 : Home -> Challenge 탭으로의 전환 뿐 아닌 Home -> MyPage로의 전환시에도 문제 발생 확인
    • 이유2 : replace 제거 시 Frame 버벅임 로그 메세지 및 실제 현상 제거
  • 작업: 따라서 Fragment를 replace하는 방식을 변경하는 작업이 진행

변경 사항(optional)

  • 기본 BottomNavigation의 Fragment replace 방식이 아닌 ViewPager와 FragmentStateAdapter로 Fragment의 상태 관리를 위임

@kez-lab kez-lab added 💊fix 잘못된 부분 수정 🐱의진 의진이 작업 labels Jan 29, 2025
@kez-lab kez-lab self-assigned this Jan 29, 2025
@kez-lab kez-lab requested a review from a team as a code owner January 29, 2025 09:47
Copy link
Member

@kangyuri1114 kangyuri1114 left a comment

Choose a reason for hiding this comment

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

전반적인 코드 수정까지 수고하셨습니당 👍

@kez-lab kez-lab merged commit bf05863 into develop Jan 30, 2025
1 check passed
@kez-lab kez-lab deleted the feature/challenge_frame_drop branch January 30, 2025 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐱의진 의진이 작업 💊fix 잘못된 부분 수정
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Feat/Challenge]: Challenge Fragment 최적화
2 participants