Hide Navigation in Choreographer
Posted: 15 Jun 2021, 04:45
Lets say I have 3 screens, with information in 3 of them that I want to show in the first one. So I create a choreography that visit all 3 screens then come back to the first one. In each of the successive screens we grab the information that we want an put in temporary fields (sessionStorage in this sample code).
Question... Is there any way to hide the screen/navigation when the choreographer go shopping, then show it again after it finish? like "HIDESCREEN(); " "SHOWSCREEN(); " or something like that so the user don't have to see all this navigation? While fast, still feels like the car is fighting for the control of my steering for a minute.... not an easy feeling.... yet. lol
Question... Is there any way to hide the screen/navigation when the choreographer go shopping, then show it again after it finish? like "HIDESCREEN(); " "SHOWSCREEN(); " or something like that so the user don't have to see all this navigation? While fast, still feels like the car is fighting for the control of my steering for a minute.... not an easy feeling.... yet. lol
Code: Select all
if (sessionStorage.getItem('NUMBER3') === null) {
/* we go to visit several screens to grab the information we need */
/* hide screen */
EXECUTECHOREONAME("GetInfFromOtherScreens");
/* show screen */
}
/* now we show what we got... */
var res = "I got this NUMBER1:" + sessionStorage.getItem('NUMBER1')
+ " Numero2:" + sessionStorage.getItem('NUMBER2')
+ " Numero3:" + sessionStorage.getItem('NUMBER3');
FIELDS("LABEL1").setProperty("text", res );
FIELDS("LABEL1").refresh();