 import spark.effects.SlideViewTransition;
 import spark.effects.ViewTransition;
 import spark.events.IndexChangeEvent;
-import spark.events.ViewNavigatorEvent;
 import spark.layouts.supportClasses.LayoutBase;
 
 use namespace mx_internal;

            view.navigator = this;
            view.data = pendingViewData.data;
            
            // TODO: I Needed an event that occurred before view was added to the display list
            // so that I could change its orientation state in MobileApplication.  Otherwise, it would
            // happen later.  Would it be a problem if this happened on viewAdded?
            // Notify listeners that a new view has been successfully initialized but not added to stage
            if (hasEventListener(ViewNavigatorEvent.VIEW_INITIALIZED))
                dispatchEvent(new ViewNavigatorEvent(ViewNavigatorEvent.VIEW_INITIALIZED, false, false, view, pendingViewTransition));
            
            addElement(view);
        }
        

        if (actionBar)
            updateActionBarProperties(pendingView, true);
        
        // Need to validate my children now to prevent flicker when no transition,
        // or so sizes can be measured before transition
        validateNow();
