How to show screens according to percentage?

Maybe the title is confusing but I’ll give an example.

EXAMPLE:

I have 5 windows, of which I only want to show mostly the screenx5.

My main screen (Screen1 by default) has a button that will open the other screens.

And the others I want them to show rarely.

Screens:

  • Screenx1: 1% of the time.
  • Screenx2: 2% of the time.
  • Screenx3: 3% of the time.
  • Screenx4: 4% of the time.
  • Screenx5: 90% of the time.

In total they add up to 100%.

Under the Screen1 block section, in the When Screen1. Initialize event you can add a block open another screen with screen name Screen5 as a parameter to it.
So when your app initializes, it will automatically take user to Screen5.

And from Screen5, you can provide navigation to another screens according to flow of your app.

A tip if you want - I suggest you to use layouts instead of arrangement, because in case if you fail to switch the screens correctly, then you may encounter OOM errors.

1 Like

Thank you!

1 Like

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