Android Question Creating and Destroying a timer

Vinians2006

Active Member
Licensed User
Longtime User
Hello, to all. I have an already working timer. But what is the correct way to use it and then release the memory, cause I create it on the Sub Activity_Create() then use it on the Tick event but, where to destroy ? Because as the timer is a Process variable if the system recreate the activity the timer will be inicializated again and the old timer will be lost. Has B4A an automaic gabarge collector ? What should I do use it properly ? Thank you.
 
Top