I got this thread i use to update a textView every 5 second:
t1 = new System.Timers.Timer ();
t1.Elapsed += new ElapsedEventHandler(OnTimeEvent);
t1.Interval = 5000;
i got an OnDestroy(), where i currently do t1.Stop().
This can create an error were the thread haven't finished its work, and therefor the app crashes. Do i need to wait for the thread to finish? and if i do that wont the app, have to wait for the thread to finish before it changes activity?
What i would love to get is a way to make my app change activity within 0.5sec.