Category "navigationcontroller"

Error: Hilt Fragments must be attached to an @AndroidEntryPoint Activity

Fragment is not loading in Unit Test. Code: @RunWith(AndroidJUnit4::class) class DataFeature { @Test fun testEventFragment() { val fragmen

exception: View does not have a navController set

in the fragment which i made it host in the tag fragment in activity when i use navController = Navigation.findNAvController(view) the app crashes by the error:

Last navigation gets resubmitted

Okay, so I'm not sure, what exactly triggers that. But I have a suspicion. Sadly it will get hard to make a MWE, since it is a very complex app with lots of fra