09-12-2012 04:57 AM
Hello,
The application I am working on is a BB10 cascade.
I have a question about my architecture which is a TabbedPane, with, inside earch Tab, NavigationPanes.
I create everything from C++ like this :
// TabbedPane creation
TabbedPane *tabbedPane = TabbedPane::create();
tabbedPane->setShowTabsOnActionBar(true);
// Home tab
NavigationPane *homeNavigationPane = NavigationPane::create();
MTHomePage *homePage = new MTHomePage(homeNavigationPane);
homeNavigationPane->push(homePage->getPage());
Tab *homeTab = Tab::create();
homeTab->setTitle(Application::instance()->translate("App", "homeTab"));
homeTab->setContent(homeNavigationPane);
tabbedPane->add(homeTab);
// Search tab
NavigationPane *searchNavigationPane = NavigationPane::create();
MTSearchPage *searchPage = new MTSearchPage(searchNavigationPane);
searchNavigationPane->push(searchPage->getPage());
Tab *searchTab = Tab::create();
searchTab->setTitle(Application::instance()->translate("App", "searchTab"));
searchTab->setContent(searchNavigationPane);
tabbedPane->add(searchTab);
The problem is that, when I select the second Tab, I have this "push" animation as if my Search screen was pushed in a NavigationPane. I don't want this animation, I just want my Page to be displayed normally.
Any idea ?
Thank you
09-12-2012 06:58 AM
Hi,
You can disable implicite animation .
hope this link helps you.
https://developer.blackberry.com/cascades/document
09-12-2012 09:02 AM
Hello,
Thank you for your suggestion.
I tried to use ImplicitAnimationController but didn't seem to work.
I will keep on trying and let you know.