How an interaction once and not right away with the launch of the application?

Hello. I want to implement once a Layout on the fourth launch of the application. Can you please tell me if it can be done?
I came up with the idea of ​​implementation through the clock, set the time, but I would like to tie it to the launch of the application

Just use a tinydb with a counter. Add 1 each time the app starts. When the counter = 4 launch your layout, stop the counter adding 1 on subsequent app starts. No clock needed. (Provide a reset when testing)

1 Like

Screenshot_13
Did so. But doesn't work.

0+1 results each time in 1, which obviously is wrong
Get the value from TinyDB rather than using 0

Taifun

1 Like

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