this post was submitted on 26 Jun 2024
7 points (100.0% liked)

Android Development

539 readers
8 users here now

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

founded 1 year ago
MODERATORS
 

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.

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 4 months ago (1 children)

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

[โ€“] [email protected] 1 points 4 months ago

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