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

[Navigation Material] Update Docs and Sample to use new API for adding custom Navigators #746

Merged

Conversation

jossiwolf
Copy link
Collaborator

To be merged once Nav 2.4.0 Alpha 10 is released :)

Fixes #744

@google-cla google-cla bot added the cla: yes label Sep 29, 2021
@ianhanniballake
Copy link
Collaborator

Navigation 2.4.0-alpha10 is out now so I think you can update the dependency now.

@jossiwolf
Copy link
Collaborator Author

Will do, thanks for the heads up! The snapshot was failing to resolve a dependency

@jossiwolf jossiwolf changed the title Update Docs and Sample to use new API for adding custom Navigators [Navigation Material] Update Docs and Sample to use new API for adding custom Navigators Sep 29, 2021
@jossiwolf jossiwolf force-pushed the navigation-material-custom-navigators-api branch from 59325c2 to fb58bfe Compare September 29, 2021 18:39
@jossiwolf jossiwolf marked this pull request as ready for review September 29, 2021 18:39
@jossiwolf jossiwolf force-pushed the navigation-material-custom-navigators-api branch from fb58bfe to 520d2ad Compare September 29, 2021 19:51
@jossiwolf
Copy link
Collaborator Author

The one test that failed was a Pager test, there shouldn't be any connection.

if (savedState != null) navController.restoreState(savedState)
navigator = remember(navController) { BottomSheetNavigator(sheetState) }
navController.navigatorProvider += navigator
Copy link
Collaborator

Choose a reason for hiding this comment

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

You don't need this line anymore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks 🙏

@chrisbanes chrisbanes merged commit a285f41 into google:main Sep 30, 2021
@jossiwolf jossiwolf deleted the navigation-material-custom-navigators-api branch September 30, 2021 07:54
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.

[Navigation] Integrate new rememberNavController APIs for custom Navigators
3 participants