maui-linux/Xamarin.Forms.ControlGaller.../ControlGallery.Tizen.cs

26 строки
578 B
C#

using Xamarin.Forms.Platform.Tizen;
using Xamarin.Forms.Controls;
using ElmSharp;
namespace Xamarin.Forms.ControlGallery.Tizen
{
class MainApplication : FormsApplication
{
internal static EvasObject NativeParent { get; private set; }
protected override void OnCreate()
{
base.OnCreate();
NativeParent = MainWindow;
LoadApplication(new App());
}
static void Main(string[] args)
{
var app = new MainApplication();
FormsMaps.Init("HERE", "write-your-API-key-here");
global::Xamarin.Forms.Platform.Tizen.Forms.Init(app);
app.Run(args);
}
}
}