7
submitted 6 days ago* (last edited 6 days ago) by federino@programming.dev to c/android_dev@programming.dev

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
[-] RustyNova@lemmy.world 2 points 6 days ago

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

[-] federino@programming.dev 1 points 6 days ago

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

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

Android Development

477 readers
1 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