2021-04-06 11:51 AM
Hello!
I have a problem with my Swipe container. It is composed of three screens, and it works fine.
Besides, I have another screen (Screen2) that is called by a hardware button.
When I push the button again, I return from Screen2 to my swipe container, but (sometimes) one page (container#3) is empty! Can I reload the whole container?
void Screen2View::handleKeyEvent(uint8_t key)
{
if(0 == key)
{
//Interaction1
//When hardware button 0 clicked change screen to Screen1
//Go to Screen1 with screen transition towards North
HAL_Delay(1000);
application().gotoScreen1ScreenCoverTransitionNorth();
}
}
Thank you and Best Regards!