cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Screen

Ezgi
Senior

Hi,

I want to change the screen from model. Do I have to declare the goto methods in the current screen and its presenter? Do I have to do the same thing for using appSwitchScreen()? Is there another way to do it without declaring goto methods in the current screen or its presenter?

1 REPLY 1
qq3g7bad
Associate III

Hello. How about trying the following?

  • Create an action and its linking interaction on your screen in TouchGFX Designer.
  • This interaction is set as following.
    • Trigger: action* is called.
    • Action: Change screen.
    • Choose screen: The screen you want to transition
  • Then, call action*() method from your view or presenter.

If you want to change screen from the model, the following document may be helpful. You can call the method you created in your presenter from the model.

https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/backend-communication