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

Update Navigation guide to match new API #863

Merged
merged 1 commit into from
Nov 18, 2021

Conversation

ianhanniballake
Copy link
Collaborator

The initial and target parameters to each transition lambda have been replaced with the use of AnimatedContentScope<NavBackStackEntry> receiver scope, which provides the initialState and targetState properties.

As these aren't entirely obvious when looking at a code snippet, added some additional docs that talk about how this lambda is built and what it provides.

The `initial` and `target` parameters to each transition lambda have been replaced with the use of `AnimatedContentScope<NavBackStackEntry>` receiver scope, which provides the `initialState` and `targetState` properties.

As these aren't entirely obvious when looking at a code snippet, added some additional docs that talk about how this lambda is built and what it provides.
@jbw0033 jbw0033 self-requested a review November 18, 2021 23:37
@ianhanniballake ianhanniballake merged commit ffbb8f3 into main Nov 18, 2021
@ianhanniballake ianhanniballake deleted the ianhanniballake-patch-1 branch November 18, 2021 23:38
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.

None yet

3 participants