MCPcopy Create free account
hub / github.com/9miao/CrossApp / pushViewControllerFinish

Method pushViewControllerFinish

CrossApp/controller/CAViewController.cpp:637–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635}
636
637void CANavigationController::pushViewControllerFinish()
638{
639 CAView* lastContainer = m_pContainers.at(m_pContainers.size() - 2);
640 lastContainer->setVisible(false);
641
642 CAView* newContainer = m_pContainers.back();
643 newContainer->setLayout(DLayoutFill);
644
645 CAViewController* lastViewController = m_pViewControllers.at(m_pViewControllers.size() - 2);
646 lastViewController->viewDidDisappear();
647
648 CAApplication::getApplication()->getTouchDispatcher()->setDispatchEventsTrue();
649}
650
651CAViewController* CANavigationController::popViewControllerAnimated(bool animated)
652{

Callers 1

pushViewControllerMethod · 0.95

Calls 7

setLayoutMethod · 0.80
setDispatchEventsTrueMethod · 0.80
getTouchDispatcherMethod · 0.80
sizeMethod · 0.45
setVisibleMethod · 0.45
backMethod · 0.45
viewDidDisappearMethod · 0.45

Tested by

no test coverage detected