Skip to content

Latest commit

 

History

History
58 lines (31 loc) · 2.28 KB

README.md

File metadata and controls

58 lines (31 loc) · 2.28 KB

Tutorial

The goal of this tutorial is to walk you through the steps needed to integrate Compose Navigation into your application. It will also explain how to achieve basic navigation using it.

More advanced examples can be found in Use cases documentation

You can find completed tutorial project here

Steps List

Initial project setup including configuration of dependencies.

Shows how to display first screen using Compose Navigation.

Describes how to navigate to a different screen using NavActions

An example of how to prevent multiple screens from being launched in a scenario when a user interacts with multiple buttons at the same time.

This step describes how to pass arguments between destinations.

Explains how to implement back navigation while maintaining the stable state of the navigation in the app.

In this step we will display a simple dialog on button click.

Sometimes a component in your application might want to navigate somehwere, but it doesn't know how to do that. This tutorial step will show you how to do that using NavIntents

Demonstrates how to suspend your coroutine until navigation happens, or it is rejected, and how to check the result of navigation action.