Hi Guys
I have a question -
Firstly, I understand timers should be declared in an Activity's Sub Process_Globals - otherwise you get multiple timers when the activity is recreated (as discussed in B4A Core - Timer documentation).
If you declare a timer in a class, then it is declared in that Class's Sub Class_Globals (which I assume is correct).
When I create an Activity, I would normally declare that Class in the Activity's Sub Globals - But, if the Class includes timers, it appears that this Class MUST be declared in the Activity's Sub Process_Globals.
Is this correct or don't it matter for Classes with timers.
Kind regards
Dave
I have a question -
Firstly, I understand timers should be declared in an Activity's Sub Process_Globals - otherwise you get multiple timers when the activity is recreated (as discussed in B4A Core - Timer documentation).
If you declare a timer in a class, then it is declared in that Class's Sub Class_Globals (which I assume is correct).
When I create an Activity, I would normally declare that Class in the Activity's Sub Globals - But, if the Class includes timers, it appears that this Class MUST be declared in the Activity's Sub Process_Globals.
Is this correct or don't it matter for Classes with timers.
Kind regards
Dave