android-navigation-graph Questions

1

I am using navigation-components in my android project.I have enabled Gradle's type safe args plugin here is my build.gradle(app) file. apply plugin: 'com.android.application' apply plugin: "andro...

1

Can Android's Navigation Component be used for navigation WITHIN a BottomSheet (i.e. replacing/adding fragments within a single bottom sheet)? I know how to launch a BottomSheetDialogFragment usi...

1

Information: I'm programmatically inserting a NavHostFragment for each feature of the app. Each NavHostFragment has it's own Navigation Graph. Dagger is providing them by using a FragmentFactory s...

5

Solved

I am using Navigation from Android Jetpack to navigate between screens. Now I want to set startDestination dynamically. I have an Activity named MainActivity And two Fragments, FragmentA & Fr...

1

Solved

I have a fragment that I define a NavHostFragment inside it like this: <fragment android:id="@+id/shipping_host_nav" android:name="androidx.navigation.fragment.NavHostFragment" android:layo...

1

Solved

I tried by creating a new project with Navigation drawer activity. Got autogenerated fragments with viewmodels. On clicking on the nav menu, it's not navigating to respective fragments. build.grad...

© 2022 - 2024 — McMap. All rights reserved.