Skip to content

Remove unnecessary Parcelize annotations after Navigation3 migration#47

Merged
skydoves merged 1 commit into
skydoves:mainfrom
easyhooon:main
Nov 29, 2025
Merged

Remove unnecessary Parcelize annotations after Navigation3 migration#47
skydoves merged 1 commit into
skydoves:mainfrom
easyhooon:main

Conversation

@easyhooon

@easyhooon easyhooon commented Nov 29, 2025

Copy link
Copy Markdown
Contributor

🎯 Goal

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

Remove @Parcelize annotation and Parcelable interface from model classes
as they are no longer needed after migrating to Navigation3.

Unlike Navigation2, Navigation3 stores arguments directly in memory using SnapshotStateList
instead of Bundle. Therefore, @Serializable annotation alone is sufficient, making @Parcelize redundant.

reference)
https://android-developers.googleblog.com/2025/05/announcing-jetpack-navigation-3-for-compose.html

https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:navigation3/navigation3-runtime/src/commonMain/kotlin/androidx/navigation3/runtime/NavBackStack.kt

🛠 Implementation details

Describe the implementation details for this Pull Request.

✍️ Explain examples

Explain examples with code for this updates.

Preparing a pull request for review

Ensure your change is properly formatted by running:

$ ./gradlew spotlessApply

Please correct any failures before requesting a review.

@easyhooon easyhooon requested a review from skydoves as a code owner November 29, 2025 12:55

@skydoves skydoves left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Looks good to me. Thanks for your contribution :)

@skydoves skydoves merged commit fe1ffe1 into skydoves:main Nov 29, 2025
2 checks passed
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.

2 participants