https://github.com/hakobvardanyan/navigationcomponentsample
Manual Implementation of Multiple Back Stacks using Jetpack Navigation Component
https://github.com/hakobvardanyan/navigationcomponentsample
android android-navigation bottomnavigationbar bottomnavigationview demo fragments jetpack jetpack-navigation kotlin multiple-back-stacks navigation navigation-component navigation-graph navigation-ui nested-navigation
Last synced: 2 months ago
JSON representation
Manual Implementation of Multiple Back Stacks using Jetpack Navigation Component
- Host: GitHub
- URL: https://github.com/hakobvardanyan/navigationcomponentsample
- Owner: hakobvardanyan
- Created: 2022-11-22T10:31:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-30T07:09:49.000Z (almost 3 years ago)
- Last Synced: 2025-04-12T07:17:54.379Z (6 months ago)
- Topics: android, android-navigation, bottomnavigationbar, bottomnavigationview, demo, fragments, jetpack, jetpack-navigation, kotlin, multiple-back-stacks, navigation, navigation-component, navigation-graph, navigation-ui, nested-navigation
- Language: Kotlin
- Homepage:
- Size: 771 KB
- Stars: 39
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jetpack Navigation Component: Manual Implementation of Multiple Back Stacks
The repository contains multiple back stacks manual implementation for a custom views as well as custom logic for the system back navigation.Check detailed information in this **[article](https://medium.com/@hakvardanyan/jetpack-navigation-component-manual-implementation-of-multiple-back-stacks-62b33e95795c)**
Navigation scheme for menu in this repository is following:

In addition you can find:
* A separate nested authentication graph
* A separate invest graph which opens on top of menu flow
* Fragment transition animations
* Shared ViewModel in scope of main fragment to for communication with nested flows
* Splash screen from which app decides where to navigateYou can check **[this](https://github.com/hakobvardanyan/NavigationComponentSample/tree/multiple-back-stack-support-by-xml-actions)** branch for implementation of supporting multiple back stacks using global actions in XML.