Skip to content

Instantly share code, notes, and snippets.

@raamcosta
Created January 8, 2022 21:26
Show Gist options
  • Save raamcosta/a2981bacdecb988aa23fe680f4860247 to your computer and use it in GitHub Desktop.
Save raamcosta/a2981bacdecb988aa23fe680f4860247 to your computer and use it in GitHub Desktop.
// Screen routes ____________________________
sealed class Screens(val route: String) {
object Login : Screens("login")
object Home : Screens("home")
object Profile : Screens("profile/{id}?isEditable={isEditable}")
object Search : Screens("search?query={query}")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment