Introduction
NavHost and NavController help your app move between screens smoothly. They keep track of where you are and where you want to go.
When you want to switch between different screens in your app.
When you want to handle back button presses automatically.
When you want to pass data between screens easily.
When you want to keep your navigation organized and simple.