0PricingLogin
Kotlin Multiplatform Academy · Lesson

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

  1. Navigate Between Shared Screens
  2. Pass Arguments & Deep Links
  3. Shared Images, Fonts & Strings
  4. Localize Shared UI Text
← Back to Kotlin Multiplatform Academy