Wann wird der Screen initialisiert?

In der Erläuterung unten steht “only once per screen”

1

Wie ist das zu verstehen, wenn zwischen zwei screens hin- und hergewechselt wird.
Erfolgt die Initialisierung jeweils nur beim ersten Aufruf des jeweiligen Screens oder jedesmal, wenn er wieder aufgerufen wird?

It means that when you open a screen, its initialisation event is run, but only for that screen.

When you start the app, Screen1 is initialised, but other screens will not be initialised until you open them.

(I think this is right) > if you do not close Screen1 when moving to another screen, and you use close screen to return to Screen1, Screen1 will not initialise again

correct, after closing another screen, the Screen1.OtherScreenClosed event will fire, however see the "Some Notes" chapter here App Inventor Tutorials and Examples: Manager Screen | Pura Vida Apps

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.