cancel
Showing results for 
Search instead for 
Did you mean: 

I want to change the screen with a timer

Ebun.1
Senior

Thank you for helping.

I want to move to a certain screen when the timer times out.

What kind of implementation should I do?

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
MM..1
Chief II

Standart is create dummy transition in designer and in code call it for example

void Screen2View::handleTickEvent() {
	if (tickCounter++ > MENU_TIMEOUT) {
		application().gotoScreen8ScreenCoverTransitionWest();
	}
}
 

View solution in original post

2 REPLIES 2
MM..1
Chief II

Standart is create dummy transition in designer and in code call it for example

void Screen2View::handleTickEvent() {
	if (tickCounter++ > MENU_TIMEOUT) {
		application().gotoScreen8ScreenCoverTransitionWest();
	}
}
 

Ebun.1
Senior

Hi MM ..1

Thank you for helping.

Thank you for your professor.

It was realized by the following implementation.

XXXXX: View name

application().gotoXXXXXScreenNoTransition();