codelab-android-navigation
codelab-android-navigation copied to clipboard
Step 10 does not seem to work on Android 13, I tested on Android 11 and it worked fine.
原因 : 是因为使用`navigate`方法进行跳转到底部tab时 会对队列中的fragment标识进行判断 如果队列中有就不会在加进去 如果没有才会加进去 所有 只需要在跳转之前 使用 `navController.popBackStack();` 即可。 ` NavController navController = ((NavHostFragment) requireParentFragment()).getNavController();` `navController.popBackStack();` `navController.navigate(R.id.navigation_dashboard); `
The starter Code misses the app Gradle file in the **app.module**
Hello I have an inquiry, Mr. Murat Yener mentioned [here](https://youtu.be/Covu3fPA1nQ?t=58) that multiple backstack is enabled by default, but he didn't mention how to disable it How I can disable Multiple...
Navigation to another routes creates infinite loop of recomposition in navhost. Here is my code: ` jetpack navigation-compose : androidx.navigation:navigation-compose:2.4.0-alpha06` ``` class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?)...
I have an Android project with two flavor_a, flavor_b. flavor_a and flavor_b share common snippets for navigation, but also have a few differences in their workflow. These are different means,...
Hi guys, We had a RuntimeException while we put a safeArgs into the navigation graph and this crash didn't give us any more guide to fix it. In the first...
How can i add fragment on Navigation controller (Navigation component) Instead of replace? I tried to navigate fragment according to android architecture but i am not possible to understand how...
In navigation_activity.xml fragment tag should not be used. "fragment" tag allows a fragment to move beyond the state of its FragmentManager. Instead, FragmentContainerView should be used.
Hello, wouldn't it be nice if users can able to swipe screens left and right?