语言

Menu
Sites
Language
Form life-cycle management and SceneManager [ANSWERED]

Hi,

If you go to a next scene with SceneManager::GoForward(), the FormFactory::CreateFormN() is called to create the new form.
When  I go back from this form with SceneManager::GoBackward(), the form is destroyed.
When I go to that form again, it is created again. And so on, so on...

However, I could not find in any documentation that this is always the case.

So my question, destrying the form during SceneManager::GoBackward() is guaranteed and always happens, or there can be some cases when the Form is not destroyed, and at the next GoForward() it is resued?

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

2 回复
kimi
In Tizen::Ui::Scenes::BackwardSceneTransition::BackwardSceneTransition(SceneTransitionAnimationType animationType, SceneDestroyOption destroyOption) u can give the SceneDestroyOption as SCENE_DESTROY_OPTION_KEEP to keep the current sscene on transition(i.e form and panels). Kimi.
Zoltan Puski
Ohhh..how blind I am! Thx!