Skip to content

Nav3 migration#43

Open
chikoski wants to merge 5 commits intoandroid:jetstream-adaptive-composefrom
chikoski:nav3-migration
Open

Nav3 migration#43
chikoski wants to merge 5 commits intoandroid:jetstream-adaptive-composefrom
chikoski:nav3-migration

Conversation

@chikoski
Copy link
Copy Markdown
Contributor

@chikoski chikoski commented May 1, 2026

This pull request migrates the navigation library to Navigation3.

@chikoski chikoski requested review from bsagmoe and dturner May 1, 2026 06:47
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request migrates the application's navigation system to Navigation3, involving significant refactoring of the app's structure, navigation components, and screen layouts. It also updates dependencies, including Gradle and Android SDK versions. I have identified a medium-severity issue regarding a production log statement that should be removed.

Copy link
Copy Markdown

@bsagmoe bsagmoe left a comment

Choose a reason for hiding this comment

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

General comment: each of the screens themselves should have an opaque background so that predictive back animations are less visually complex.

Image

Comment thread AdaptiveJetStream/jetstream/src/main/java/com/google/jetstream/MainActivity.kt Outdated
Copy link
Copy Markdown

@bsagmoe bsagmoe left a comment

Choose a reason for hiding this comment

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

One more general thing, using dropUnlessResumed to surround a handler that modifies the navigation state can also help prevent erroneous navigation:

StylableCard(
    onClick = dropUnlessResumed { onClick() },
    interactionSource = interactionSource,
    content = image,
)

@chikoski chikoski requested a review from bsagmoe May 8, 2026 07:21
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.

3 participants