Replies: 3 comments 1 reply
-
I would recommend don't share object between routes, I'd like to recommend follow the Android Architecture Guideline: https://developer.android.com/topic/architecture |
Beta Was this translation helpful? Give feedback.
1 reply
-
But if I need to do that in this case how can I do that? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have followed your recommendation to implement a clean navigation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to share a custom object between two routes with the
stateHolder
, but is the clean way to do that because sometimes the navigation starts after that thestateHolder
has been set the custom object, but sometimes, instead, the navigation starts before the custom object has been set. The following snippet is how I have implemented that:Scene
May I have to wait before navigate? But if navigate inside the
MainScope
the navigation never happensBeta Was this translation helpful? Give feedback.
All reactions