protected override void InitializeLastChance() { var closer = new SimpleDroidViewModelCloser(); Mvx.RegisterSingleton <IViewModelCloser>(closer); base.InitializeLastChance(); }
protected override void InitializeLastChance() { var autoViewSetup = new MvxAutoViewSetup(); autoViewSetup.Initialize(typeof(Resource.Layout)); var closer = new SimpleDroidViewModelCloser(); Mvx.RegisterSingleton<IViewModelCloser>(closer); base.InitializeLastChance(); }
protected override void InitializeLastChance() { Cirrious.MvvmCross.Plugins.Json.PluginLoader.Instance.EnsureLoaded(); var autoViewSetup = new MvxAutoViewSetup(); autoViewSetup.Initialize(typeof(Resource.Layout)); var closer = new SimpleDroidViewModelCloser(); Mvx.RegisterSingleton<IViewModelCloser>(closer); base.InitializeLastChance(); }
protected override void InitializeLastChance() { var closer = new SimpleDroidViewModelCloser(); Mvx.RegisterSingleton<IViewModelCloser>(closer); base.InitializeLastChance(); }