I'm trying to make dependency on UWP by this tutorial https://www.mvvmcross.com/documentation/platform/uwp/universal-windows-platform-uwp?scroll=621
but on this step in Setup.cs:
public Setup( Frame rootFrame ) : base( rootFrame ){}
does anybody have an idea why??
Dependency on Android works well
Solution
App.xaml.cs
public partial class App
{
public App()
{
InitializeComponent();
}
}
public abstract class AWSService : MvxApplication<Setup, Core.App>
{ }
Setup.cs
public class Setup : MvxWindowsSetup<Core.App>
{
public Setup()
{ }
protected override IMvxApplication CreateApp()
{
Mvx.IoCProvider.RegisterType<IYourInterface, YourNativeClass>();
return new Core.App();
}
}