-
-
Save raamcosta/b89dc0d3072ba1cd3b19f8dda9848a02 to your computer and use it in GitHub Desktop.
Current Compose Navigation Graph code example - Screens sealed class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sealed class Screens(val route: String) { | |
object Login : Screens("login") | |
object MainFeed : Screens("main_feed") | |
object Profile : Screens("profile/{id}?isEditable={isEditable}") | |
object Search : Screens("search") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment