Skip to content

Instantly share code, notes, and snippets.

@JoeM-RP
Last active August 14, 2018 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoeM-RP/d6bd468e4bd7e41ad3fafcf0561894e3 to your computer and use it in GitHub Desktop.
Save JoeM-RP/d6bd468e4bd7e41ad3fafcf0561894e3 to your computer and use it in GitHub Desktop.
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