Type Safety in Navigation Compose using objects inside the object route
Type Safety in Navigation Compose using objects inside the object route
If you try to navigate in compose using a route like this:
data class ProfileRoute(user: UserProfile)
data class UserProfile(id: String)
You will have an error when running the app. This article helped me with that.
I still don't know, however, how to navigate with a scenario like this:
data class ProfileRoute(user: UserProfile)
data class UserProfile(account: Account)
This scenario above still crashes the application.
You're viewing a single thread.
View all comments
2
comments
That title looks like you had a stroke for someone that isn't an android dev
2 0 Replyobjects inside an object inside another object that is inside an object
1 0 Reply