Last active
August 14, 2018 20:48
-
-
Save JoeM-RP/d6bd468e4bd7e41ad3fafcf0561894e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using RxUIForms.ViewModels; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
using Xamvvm; | |
[assembly: XamlCompilation(XamlCompilationOptions.Compile)] | |
namespace RxUIForms | |
{ | |
public partial class App : Application | |
{ | |
public App() | |
{ | |
InitializeComponent(); | |
var factory = new XamvvmFormsRxUIFactory(this); | |
XamvvmCore.SetCurrentFactory(factory); | |
MainPage = this.GetPageFromCache<AppShellViewModel>() as Page; | |
} | |
/* Omitted */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment