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/#300] Apply Type Safe Navigation #301

Merged
merged 9 commits into from
May 31, 2024

Conversation

l2hyunwoo
Copy link
Contributor

@l2hyunwoo l2hyunwoo commented May 27, 2024

Issue

Overview (Required)

  • androidx.navigation 2.8.0-alpha08 버전부터 사용할 수 있는 Type Safe Navigation을 적용합니다.

시연 영상

Screen_recording_20240530_115044.mp4

@l2hyunwoo l2hyunwoo marked this pull request as draft May 27, 2024 05:45
Copy link

github-actions bot commented May 27, 2024

Test Results

18 tests   18 ✅  5s ⏱️
11 suites   0 💤
11 files     0 ❌

Results for commit ee817b8.

♻️ This comment has been updated with latest results.

@l2hyunwoo l2hyunwoo marked this pull request as ready for review May 30, 2024 02:51
Copy link
Member

@wisemuji wisemuji left a comment

Choose a reason for hiding this comment

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

좋습니다 👍

(참고) 이러한 변경사항을 안전하게 적용하기 위해 MainScreenTest이 있는데용,
이 PR 변경사항 때문은 아니지만 지금은 깨지고 있네요 😂

Comment on lines 5 to 7
interface Route

interface MainTabRoute : Route
Copy link
Member

Choose a reason for hiding this comment

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

sealed interface를 활용하여 컴파일러에게 구현된 타입을 알려주면 어떨까요?
Route, MainTabRoute별로 subclass를 묶어두면 가독성도 좋아질 것 같아요

Copy link
Contributor Author

@l2hyunwoo l2hyunwoo May 30, 2024

Choose a reason for hiding this comment

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

코드리뷰 적용하셨습니다

@wisemuji
Copy link
Member

MainScreenTest 깨지는건 별도로 이슈 따놨습니다.
#313

Copy link
Member

@wisemuji wisemuji left a comment

Choose a reason for hiding this comment

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

LGTM

@wisemuji wisemuji merged commit c081d4e into droidknights:main May 31, 2024
2 checks passed
@l2hyunwoo l2hyunwoo deleted the feature/#300 branch May 31, 2024 00:25
@taehwandev taehwandev added the 2024 label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement] Type Safe Navigation 적용
3 participants