Forum Xamarin Cross Platform with Xamarin

Timer in Core is Not Working When Windows 10 App is Minimized [UWP,MvvMCross]

CharwakaCharwaka INMember ✭✭✭✭✭
edited November 2016 in Cross Platform with Xamarin


i have a timer in Core Project which updates a Value every second. When the app is in Debug mode Timer is working perfectly even though i minimized my uwp app.but when i run app without debugger timer is not working .
Timer timer = new Timer(callback, "Some state", TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(1));
private static void callback(object state) { Console.WriteLine("Called back with state = " + state); }

i am using MvvMcross for Xamarin.native(uwp App).


Sign In or Register to comment.