touchgfx::Application::switchScreen() method
@fn virtual void Application::switchScreen(Screen* newScreen); Switch to another Screen. Switch to another Screen. Will call tearDownScreen on current Screen before switching, and subsequently call setupScreen and draw automatically for the new Screen.
Arguments