Zagal
(Zagal_)
November 6, 2020, 4:12pm
#1
Hi.
I have a procedure with several actions to be performed one after the other. In between there is a countdown. How can I set that the action that come after the countdown is performed when the countdown is done?
I don’t know if I have explained myself, I hope so…
Srrazmi
(srmoney.in Is Lunched Successfully )
November 6, 2020, 4:53pm
#2
Show Your Blocks What You Have Done So Anyone Can Help You
Zagal
(Zagal_)
November 6, 2020, 5:45pm
#3
My blocks are so difficult to understand, so many variables. Just want to know how to perform a countdown after another countdown in the same procedure.
Srrazmi
(srmoney.in Is Lunched Successfully )
November 6, 2020, 5:46pm
#4
Are You Staring CountDown Using Clock ?
nikif99
(Nikiforos)
November 6, 2020, 5:57pm
#5
Try to use Clock1 and Clock2. When Clock1 stops, it fires the 2nd one.
Taifun
November 6, 2020, 5:59pm
#6
start the second action in the Clock.Timer event
Please Wait method by Scott
Taifun
Zagal
(Zagal_)
November 6, 2020, 6:13pm
#7
Yes, I did that. But the problem is that all the rest of the procedure is done, without wainting to the countdown to end.
Taifun
November 6, 2020, 6:19pm
#8
you have to move all your blocks you want to start after the countdown into the Clock.Timer event
Taifun
nikif99
(Nikiforos)
November 6, 2020, 6:28pm
#9
See next topic to understand synchronous and async exec.
Then, try this extension
Async Proc
Async Proc is an Extension which you can use to run a Procedure asynchronously. You no longer have to wait for a loop to finish and don’t worry about your app Crashing due to Android System thinking that your app crashed while doing intense processes.
BLOCKS:
EVENTS :
[Capture]
FUNCTIONS :
[Capture]
HOW TO USE?
Call a Procedure From Anywhere On You app using this block
[Capture]
Call a Procedure After a Certain Time Using this Block
[Capture]
Delay Should be in ms.
Call A Pr…
1 Like