Jetpack-Navigation-Multistack-Example
BottomNavChildFragmentExample
Our great sponsors
Jetpack-Navigation-Multistack-Example | BottomNavChildFragmentExample | |
---|---|---|
4 | 5 | |
38 | 45 | |
- | - | |
0.0 | 2.0 | |
over 1 year ago | 10 months ago | |
Kotlin | Kotlin | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Jetpack-Navigation-Multistack-Example
-
Question about placing fragments in nav-graph when using navigation component
If you DON'T actually rely on the multi-stack behavior (1 stack / tab) then there is no need to use NavigationExtensions (personally I wouldn't use them even if I needed that, because the implementation is a bit wonky; you can do more reliable code manually.)
-
A fragment -> auth flow-> bottom navigation w/ Navigation component/jetpack
See this sample for auth / conditional navigation then pretend that "ProfileFragment" is the fragment in this sample
-
What are the pros of going with Jetpack's Navigation Component?
I am managing multiple backstacks with Jetpack Navigation just fine in this example https://github.com/Zhuinden/Jetpack-Navigation-Multistack-Example/tree/master/app/src/main/java/com/zhuinden/jetpacknavbottomnavfragmentexample 🤔
- BottomNavigation replace fragment
BottomNavChildFragmentExample
-
Question about placing fragments in nav-graph when using navigation component
So the bottom nav should be managed like in this snippet: https://github.com/Zhuinden/BottomNavChildFragmentExample/blob/40d7b87ee77e96eae2b559b3b727609fb015198e/app/src/main/java/com/zhuinden/bottomnavfragmentexample/RootFragment.kt
- Question about placing fragments in nav-graph when using navigation component?
-
Any way to avoid getting added to backstack?
are you looking for this too?
-
What are the current best alternative libraries to Jetpack Navigation Component which preserve state and backstack and work with Bottom Navigation?
Like, I'm not even joking, you just need to use child fragments instead of letting Jetpack Navigation do it
-
An update to the FragmentViewBindingDelegate: the bug we’ve inherited from AutoClearedValue
See https://github.com/Zhuinden/BottomNavChildFragmentExample/blob/1ddb584b43e647e7a79d3cf3c56e9e003acd1298/app/src/main/java/com/zhuinden/bottomnavfragmentexample/RootFragment.kt#L13
What are some alternatives?
android-showcase - 💎 Android application following best practices: Kotlin, Coroutines, JetPack, Clean Architecture, Feature Modules, Tests, MVVM, DI, Static Analysis...
simple-stack - [ACTIVE] Simple Stack, a backstack library / navigation framework for simpler navigation and state management (for fragments, views, or whatevers).
simple-stack-ftue-sample - [DEMO] Sample code to display "First-Time User Experience" in a Single-Activity app using Simple-Stack, based on the "Conditional Navigation" section by Google.
Conductor - A small, yet full-featured framework that allows building View-based Android applications
Enro - A simple navigation library for Android 🗺️
android-template - Project with various common components, to reduce "project setup" operations