Created
April 17, 2026 17:28
-
-
Save AndroidPoet/60e20089cffb7ee6c3cdffa5e377b049 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 AppRoute { | |
| data object Home : AppRoute() | |
| data object Settings : AppRoute() | |
| data object About : AppRoute() | |
| data class UserProfile(val userId: String, val showPosts: Boolean = false) : AppRoute() | |
| data class ProductDetail(val productId: Int, val category: String) : AppRoute() | |
| data class SearchResults(val query: String, val filters: String = "") : AppRoute() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment