Pass Arguments & Deep Links
Move data between destinations safely.
Screens Need Data
A details screen has to know which item to show. Arguments are how one screen tells the next exactly what to display. 📦
Put the Value in the Route
You declare a placeholder right inside the route string. Curly braces mark where a value will be slotted in.
composable("details/{itemId}") { entry ->
DetailsScreen(entry)
}All lessons in this course
- Navigate Between Shared Screens
- Pass Arguments & Deep Links
- Shared Images, Fonts & Strings
- Localize Shared UI Text