Integration AppIntro into Androidx navigation component
See original GitHub issueAppIntro Version: 6.0.0
Device/Android Version: Pixel 2
Issue details / Repro steps / Use case background:
For the new Androidx navigation framework the activity needs a navHost fragment. Is it possible to add that into AppIntro?
Or could the AppIntro class also inherited from a Fragment class?
The problem that I am facing is that I want to navigate to another Fragment (outside of the AppIntro acitivty) in my main nav graph with safe arguments but I can’t do it without having a second graph in AppIntro or disabling the second AppIntro activity.
Does any have an idea how to solve this issue?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Get started with the Navigation component - Android Developers
Create a navigation graph. Navigation occurs between your app's destinations—that is, anywhere in your app to which users can navigate. These ...
Read more >I m using Navigation component and I have logout menu option
I m using Navigation component and I have logout menu option in toolbar when clicking it it should navigate to login fragment clicking...
Read more >Navigation Component in Android: Simplifying ... - Innominds
Integrate the Navigation component: For each activity, we need to create a navigation graph that contains one or more fragments managed by that ......
Read more >Navigation Component- The Complete Guide - Medium
Android Jetpack is a set of components, tools, libraries and guidance to help developers to create a brilliant quality-oriented application.
Read more >android - where to write the Navigation Component safeArgs ...
In your project level build.gradle file: ... Navigation implementation("androidx.navigation:navigation-fragment-ktx:$nav_version") ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@WolandPL thanks you gave me the hint how to implement a workaround. I implemented a slightly different version at https://github.com/oliexdev/openScale/commit/83e55e05bc9d93f4ba4df7a64b3a44b8b70710b1
@cortinico Should I try to create a PR for AppIntro that includes the required NavFragment?
@cortinico I created a PR please review it