I've googled it but it's still not clear to me if ...
# compose
f
I've googled it but it's still not clear to me if we should send Parcelables between screens in Compose or not. I am in a situation where I would like to send a sealed class for a result back.
a
I don't think we can send Parcelables with navigation compose, can we?
f
Ok, thank you. The only thing that confuses me is that it's not a problem to send Parcelable objects back as a result through the SavedStateHandle of the previous back stack entry.
Why is forward wrong but backwards okay?
f
Yea I understand that this is true for entities with IDs. But it wasn't clear for value objects.
👍 1
c
Could also just store the value in a larger scoped VM.
f
but I don't want a shared VM