nhaarman / acorn

Mastering Android navigation :chipmunk:
https://nhaarman.github.io/acorn
Apache License 2.0
181 stars 7 forks source link

Invoke Scene.onStart after listener notification #163

Closed nhaarman closed 4 years ago

nhaarman commented 4 years ago

A Scene (A) that immediately causes another transition to another Scene (B) when A's onStart method is invoked results in the wrong order of scene notifications if the listener invocation happens after starting the scene: First B is reported and only then A.

Ensuring listener invocation happens before starting the Scene resolves this issue.