Problem with GoForward

Problem with GoForward

BY 15 Aug 2013 Native Application Development

Hello!

I have a problem with SceneManager. Sometimes after calling GoForward method the application crashes.

 

result r = pSceneManager->GoForward(ForwardSceneTransition(L”ID_SCENE_TODAY”, SCENE_TRANSITION_ANIMATION_TYPE_FADE_IN_OUT));

AppLog(GetErrorMessage(r));

 

FormFactory.cpp:

else if (formId == L”IDF_TODAY”) {

TodayFilmsForm* pForm = new TodayFilmsForm();
pForm->Initialize();
pSceneManager->AddSceneEventListener(sceneId, *pForm);
pNewForm = pForm;
}
 

After calling GoForward called OnInitializing method of the form (with TableView) to which I turn. CreateItem method for TableView items also called, but OnSceneActivated is not called and application crashed.

What could be the problem?

 

Thanks!

Written by