Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 820 Bytes

File metadata and controls

23 lines (17 loc) · 820 Bytes

Demo Simple Navigation App

Simple app to demonstrate Compose screen navigation

Demo App with 4 screen.

Navigates from

  • Home Screen to a List Screen. Nothing passed. simple route
  • List Screen to Detail screen. We pass an Integer in the route
  • Detail Screen to Forth Screen. We pass a the inputted string in the route
  • Forth Screen back to Home Screen. We popStack with false

We are not using the enum or sealed class for ScreenDestinations In each screen we have a XxxxScreenDestination object defined on top of screen class

ref: demo-simple-navigation-app-android-kotlin-compose