How to make a arrangement visible only once at start?

Just at start...then it should not appear again in next start.

Use tinydB

When screen instalize then if tinydB with a tag is false then store some value in that tag.

Then give if the tinydB tag is true set the screen which you want as visible visible
Else go the other screen.

Can you please give me a example of code.

u can say "initialize global x" to 0;
after your app has initialized set that to 1 and store it in Tiny DB
you can put an "if" statement stating if global x(in tinyDB) == 1;
set horizontal/vertical arrangement visibility to false.

next time when the app reopens it wont show your arrangement

Can u please give an image of that block. I didn't understand


This should suffice

1 Like

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