Skip to content

하단 탭 전환 시 스크롤 상태 유지 기능 구현 및 구조 개선#99

Merged
Hyesung82 merged 2 commits intodevelopfrom
feat/62-scroll
Apr 14, 2026
Merged

하단 탭 전환 시 스크롤 상태 유지 기능 구현 및 구조 개선#99
Hyesung82 merged 2 commits intodevelopfrom
feat/62-scroll

Conversation

@Hyesung82
Copy link
Copy Markdown
Contributor

이슈

내용

  1. 스크롤 상태 유지 기능 구현
  • ProjectsPresenter에 LocalTabScrollState 적용.
  • 다른 탭 이동 후 복귀 시 마지막 스크롤 위치 보존.
  1. 코드 구조 리팩토링
  • ProjectsScreen.kt: UI 명세(Screen, State, Event) 정의.
  • ProjectsPresenter.kt: 비즈니스 로직 및 팩토리 로직 분리.
  1. 버전 업데이트
  • PATCH_VERSION: 2 상향 (1.0.2)

변경점 체크리스트

  • 하단 탭 전환 시 홈, 자소서, 경험, 리포트 화면 스크롤 위치 보존 여부
  • 프로젝트 리스트 UI 레이아웃 및 클릭 이벤트 정상 동작 확인

- `LocalTabScrollState`를 도입하여 각 탭(Home, Projects, Experience, Report)의 `LazyListState`를 전역적으로 관리
- `RootScreen`에서 각 탭의 스크롤 상태를 생성 및 저장 (`rememberRetained`)
- `HomeScreen`, `ProjectsScreen`, `ExperienceScreen`, `ReportScreen`에서 전달받은 스크롤 상태를 각 `LazyColumn`에 적용
- 탭 전환 방식을 기존 `backStack` 조작에서 `navigator.resetRoot`를 사용하는 방식으로 변경
- `ProjectsPresenter`를 별도 파일로 분리 및 리팩토링
@Hyesung82 Hyesung82 requested a review from ThirFir April 14, 2026 13:32
@Hyesung82 Hyesung82 self-assigned this Apr 14, 2026
@Hyesung82 Hyesung82 added the enhancement New feature or request label Apr 14, 2026
@Hyesung82 Hyesung82 linked an issue Apr 14, 2026 that may be closed by this pull request
@Hyesung82 Hyesung82 merged commit ea5f8d9 into develop Apr 14, 2026
@Hyesung82 Hyesung82 deleted the feat/62-scroll branch April 14, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

탭 간 이동 시 스크롤 유지

1 participant