Beispiel #1
0
        static void ProxyStart(IntPtr h)
        {
            Runtime.Start();
            Current = GetApp(h);
            Current.SubscribeToAppEvents();
            Current.Start();
            Started?.Invoke();

#if ANDROID
            renderThreadId = System.Threading.Thread.CurrentThread.ManagedThreadId;
#endif
        }
Beispiel #2
0
        static void ProxyStart(IntPtr h)
        {
            Runtime.Start();
            Current = GetApp(h);
            Current.SubscribeToAppEvents();
#if WINDOWS_UWP
            // UWP temp workaround:
            var text = new Text();
            text.SetFont(CoreAssets.Fonts.AnonymousPro, 1);
            text.Value = " ";
            Current.UI.Root.AddChild(text);
#endif
            Current.Start();
            Started?.Invoke();
        }