private async void Application_Idle(object sender, EventArgs e) { Console.WriteLine("Application_Idle"); if (XplatUIMine.PaintPending) { SKCanvasForms.Invalidate(); XplatUIMine.PaintPending = false; } await Task.Delay(1); }
private async void pollDraw() { SKCanvasForms.Invalidate(); await Task.Yield(); }