cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect user to a view globally

matheuschiarelli
Associate II

Hello!

I'd like to trigger a screen change (navigate to a specific screen) whenever a hardware button is pressed, and I want this behavior to be global. How can i do that in touchgfx?

The only way i managed to redirect user is local, creating interactions in each screen, but i want to do this globally.

2 REPLIES 2
GaetanGodart
ST Employee

Hello @matheuschiarelli ,

 

Creating an interaction in every screen is probably the easiest way to achieve this.

Is this an issue for you to create one interaction on every screen?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Hello @GaetanGodart !

 

No problem with this, i just wanted to make sure if i could create some redirect function globally in a easy way. But yeah, i can continue making interactions in each screen.

 

Thank you!