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.

2 points

That title looks like you had a stroke for someone that isn’t an android dev

permalink
report
reply
1 point

objects inside an object inside another object that is inside an object

permalink
report
parent
reply

Android Development

!android_dev@programming.dev

Create post

Welcome to the programming.dev Android development community!

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License

Community stats

  • 2

    Monthly active users

  • 94

    Posts

  • 70

    Comments