I was struggling for a long time last night trying to get binding to properly 
work in Router.

I’m able to use Router as an MXML base, so that’s good, but wasn’t able to use 
binding:
https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/BrowserRouter.mxml
 
<https://github.com/unhurdle/spectrum-royale/blob/master/SpectrumBrowser/src/view/BrowserRouter.mxml>

I tried declaring parent=“{paneHolder}” on the component routes where 
paneHolder was a bindable variable, but the value was never assigned.

I originally had issues with initialization order, but Router is now delaying 
the adding of beads and loading them in an async call to ensure that the whole 
component structure that Router is attached to is already initialized when the 
beads are added.

I never worked on the binding code and I don’t understand the difference 
between the different binding classes. I tried using ContainerDataBinding, but 
that seemed to listen without actually applying the values.

Is there a binding class that can be used, or do we need a new one? Is there 
other things I should know about binding lifecycles?

Thanks,
Harbs

Reply via email to