Exemplo n.º 1
0
        private void LoadTeamsData()
        {
            // get ViewModel instance from App
            var vm = new MyTeamsViewModel();

            viewModel = vm;
        }
Exemplo n.º 2
0
        public App()
        {
            Locator.CurrentMutable.RegisterConstant(new NativeMessageHandler(), typeof(HttpMessageHandler));
            Config.ResourceAssembly = typeof(App).GetTypeInfo().Assembly;

            ViewModel = new MyTeamsViewModel();             // constructor parameter => Properties

            //this.Resources.Add("viewModel", ViewModel);
        }