Skip to content

Remove Parcelable supertype from Screen and PopResult - #2849

Open
ZacSweers wants to merge 13 commits into
mainfrom
z/finishSerializable
Open

Remove Parcelable supertype from Screen and PopResult#2849
ZacSweers wants to merge 13 commits into
mainfrom
z/finishSerializable

Conversation

@ZacSweers

Copy link
Copy Markdown
Collaborator

This completes the migration away from requiring parcelable on screens and popresults!

The one thing I'm not super stoked on is the behavior of DefaultCircuitSaver on androidMain, open to suggestions here. Tried to documented it well.

@ZacSweers
ZacSweers requested a review from stagg August 14, 2026 03:28

public actual val DefaultCircuitSaver: CircuitSaver = AndroidDefaultCircuitSaver

private object AndroidDefaultCircuitSaver : CircuitSaver() {

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.

Think I'm almost fine with this staying as PassThroughCircuitSaver?

Seeing how dropping Parcelable from Screen is a breaking change, and folks will need to opt back in by adding Parcelable or ParcelableScreen, it might be fine to require folks to explicitly set a ParcelableCircuitSaver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants