guia

Navigation Component for Jetpack Compose with support for screens, dialogs, bottomsheets, transitions and multi module projects

APACHE-2.0 License

Stars
180
Committers
2

Bot releases are hidden (Show)

guia - 1.0.0-beta05 Latest Release

Published by roudikk 9 months ago

Just a quick maintenance one: Update Compose BOM version.

The library is still currently being upgraded to be a KMM project with Web, Android, Ios and Desktop as targets.

guia - 1.0.0-beta04

Published by roudikk about 1 year ago

This release updates dependencies while the project is being migrated to KMM. (Thanks to @ilyasshafigin for https://github.com/roudikk/guia/pull/19 )

The library is almost KMM ready with some additional changes to the API, the next release will have support for Android, IOS and Desktop.

guia - 1.0.0-beta03

Published by roudikk over 1 year ago

Bugfixes

  • The wrong animation was being played on back navigation. This was fixed in #17 (@ilyasshafigin)

Dependencies

  • Update the Compose dependencies to latest (1.4.0-rc01)

Tests

  • Written tests for most containers, bringing the library closer to a 1.0.0 stable release
guia -

Published by roudikk over 1 year ago

🧾 Refactoring

For the sake of consistency, some classes were renamed to match other naming conventions used in the library.

"Navigation" Prefix

Nav is used a lot as a prefix but the transition API and entry container were using Navigation so they are now updated to match the rest:

  • NavigationTransition was renamed to NavTransition
  • NavigationVisibilityScope was renamed to NavVisibilityScope
  • NavigationEntryContainer was renamed to NavEntryContainer

Visible Backstack

VisibleBackstack is confusing since it should represent what is currently being rendered on the screen for the user so it was renamed

  • VisibileBackstack was renamed to RenderGroup

BackstackManager naming and package

BackstackManager indicates that it manages the backstack of a Navigator where in reality it manages the lifecycle of the backstack so it was renamed and updated the public lambdas to be fun interfaces

  • BackstackManager was renamed to LifecycleManager
  • Preiovusly getVisibileBackstack and updateLifecyles are now fun interfaces GetRenderGroup and UpdateLifecycles
  • Renamed BackstackViewModel to ViewModelStoreProvider
  • Moved LifecycleEntry, LifecycleManager, ViewModelStoreProvider and DefaultLifecycleManager to lifecycle package

Gitbook

  • Remove Gitbook files as they were not intended to be pushed to the master branch

Misc

  • Updated some documentation across the project.
  • NavigatorResultManager is now internal.

πŸ› Bugfixes

  • LocalNavigator was not present when using the NavEntryContainer resulting in a crash when used outside the context of a NavContainer
guia - 1.0.0-beta01

Published by roudikk over 1 year ago

Initial release for Guia πŸŽ‰

Check the GitBook for documentation.