By next time I mean when I navigate to the screen second time. Yes, I have if (value) in dataProvider setter. The data is valid and received from the server. Ir's a singleton that the data is placed on is not really a singleton. The Profiler is showing multiple instances of it.
On Thu, Nov 13, 2014 at 4:28 PM, Alex Harui <aha...@adobe.com> wrote: > > > On 11/13/14, 1:43 PM, "mark goldin" <markzolo...@gmail.com> wrote: > > > > >That is close to real code. > >I know for sure that _ModelLocator.healthReport gets data in the result > >function. The whole thing works for the one time only. > >Any consecutive run will have _ModelLocator.healthReport = null in set > >dataProvider. > > > >That's how the whole chain of questions was triggered because I started > >looking for workarounds. > > > >Sorry if that is still not clear. > > What do you mean by “works for the one time only.” When is the next time? > > Also note that there is a good chance null will be assigned to the > dataProvider at startup because the binding expression may get evaluated > before creationComplete tries to set data. > > Are you sure the data provider is being set to null as opposed to having > no data? Have you verified that the data (which is coming from somewhere, > I presume) is in fact valid? > > -Alex > >