Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

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.