Navigating between fragments and activities in Android can sometimes be confusing. Not to mention the amount of error-prone boilerplate code you have to write. While Kotlin simplifies a lot of things when it comes to fragment transactions and starting activities, there’s still a lot of room for improvement.
Navigation Architecture Component libraries will help you solve your complex navigation demands. They let you skip fragment transactions by abstracting it in the form of simple to use navigation destinations. You can set up these destinations in a friendly-looking drag and drop editor.
Navigation Architecture Components support easy way of deep-linking into a specific place in your app and they manage the back-stack for you. With these libraries you can even pass arguments between activities or fragments in a type-safe way.