Skip to main content
Participating Frequently
January 21, 2010
Question

Cairngorm 3 Navigation: FirstEnter bug?

  • January 21, 2010
  • 1 reply
  • 611 views

Not sure if this is a bug or not but the FirstEnter function does not get fired on the first item of a ViewStack. I have fought this "feature" of ViewStacks a lot so I totally understand. The other bummer is that if you leave the first ViewStack index and return to it, it fires the FirstEnter. Setting the VS creationPolicy to ALL certainly helps but causes a lot of other chaos and, of course, is less than ideal anyway.

This topic has been closed for replies.

1 reply

Participating Frequently
February 25, 2010

That shouldn't be the case and if it is, it's a bug. The Navigation library is supposed to invoke a FirstEnter on Landmarks at the default selection of views. i.e. it'll ask of the selectedIndex at start-up and fallsback to 0 if it cannot retrieve it. I couldn't reproduce this in my examples but could you send me or post here an isolated example that showcases your problem?