Top "Android-architecture-navigation" questions

The Navigation Architecture Component provides a framework for in-app navigation for Android apps.

Android navigation component: how save fragment state

I use bottomNavigationView and navigation component. Please tell me how I don't destroy the fragment after switching to another tab …

android navigation android-architecture-navigation
View.findNavController() vs Fragment.findNavController()

Anywhere in a NavHostFragment I can do findNavController().navigateUp() Or, if in my Fragment I have a button to be …

android-architecture-components android-jetpack android-architecture-navigation
How to use Navigation Drawer and Bottom Navigation simultaneously - Navigation Architecture Component

I have screen like below which contain a navigation drawer and bottom navigation on same screen: I am using Jetpack …

android kotlin android-jetpack android-architecture-navigation
Jetpack navigation: Title and back/up arrow in the action bar?

I have installed the latest canary version of Android Studio, and followed this (https://developer.android.com/topic/libraries/architecture/…

android android-navigation android-jetpack android-architecture-navigation
Android Jetpack Navigation with ViewPager and TabLayout

For a new app i use Jetpack Navigation Library to implement proper back navigation. The first level of navigation is …

android android-architecture-components android-navigation android-jetpack android-architecture-navigation
Fragment Not Associated With A Fragment Manager

I am writing some instrumented tests for an app with one activity and multiple fragments using the Navigation Component. The …

android android-fragments android-espresso android-architecture-navigation instrumented-test
Navigation Component, Control when to show hamburger or back icon

I have the following Activity class MainActivity : AppCompatActivity() { private lateinit var drawerLayout: androidx.drawerlayout.widget.DrawerLayout override fun onCreate(savedInstanceState: …

android kotlin navigation-drawer android-jetpack android-architecture-navigation
How do I define default animations for Navigation Actions?

I'm using Android Studio 3.2 Canary 14 and The Navigation Architecture Component. With this you can define transition animations pretty much as …

android android-animation android-jetpack android-architecture-navigation