Skip to content

Resolution of NavTargets #219

Answered by zsoltk
sergejsha asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @sergejsha!

For most cases, navigation can be implicit:

  1. O3 fires an event to tell Onboarding that it's done. O3 can do this either either via a callback or by the finish() method every Node has.
  2. Onboarding realises the last child has finished (see the onChildFinished() method you can override if you go with finish() instead of a callback). In its local business logic it would realise there's no next child to switch to, so it repeats the same pattern, and finishes.
  3. Logged in catches that Onboarding finished, and switches its current NavTarget to be Main
  4. Main when constructed will load its default NavTarget, which can be Messages in your case
  5. Messages when constructed will load its def…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sergejsha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants