コード例 #1
0
        protected override void InitializeLastChance()
        {
            var closer = new SimpleDroidViewModelCloser();

            Mvx.RegisterSingleton <IViewModelCloser>(closer);
            base.InitializeLastChance();
        }
コード例 #2
0
        protected override void InitializeLastChance()
        {
            var autoViewSetup = new MvxAutoViewSetup();
            autoViewSetup.Initialize(typeof(Resource.Layout));

            var closer = new SimpleDroidViewModelCloser();
            Mvx.RegisterSingleton<IViewModelCloser>(closer);

            base.InitializeLastChance();
        }
コード例 #3
0
        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();
        }
コード例 #4
0
 protected override void InitializeLastChance()
 {
     var closer = new SimpleDroidViewModelCloser();
     Mvx.RegisterSingleton<IViewModelCloser>(closer);
     base.InitializeLastChance();
 }