Skip to content

1.1.6-beta

Compare
Choose a tag to compare
@raamcosta raamcosta released this 22 Jan 15:58
· 671 commits to main since this release

API Changes

  • startDestination of both DestinationsNavHost and NavGraph was renamed to startRoute and it's now of type Route (which is an interface only implemented by Destination and NavGraph). This is because NavGraph is also a valid starting point for a NavGraph. So now, Route is used so that you can pass a Destination like before or a NavGraph.
  • RouteIdentified was renamed to Route and is now a sealed interface only implemented by NavGraphSpec and DestinationSpec (as seen above).