コード例 #1
0
 public MasterDetailMain()
 {
     InitializeComponent();
     mdmvm = new MasterDetailMainViewModel() {Navigation = this.Navigation };
     this.BindingContext = mdmvm;
     flag = 0;
     isCallShow = 0;
 }
コード例 #2
0
        public CitiesMasterDetailPage()
        {
            InitializeComponent();
            var masterModel = new MasterDetailMainViewModel();

            this.BindingContext = masterModel;
            appLanguage.MultilangualViewModels.Add(masterModel);
            MasterPage.ListView.ItemSelected += ListView_ItemSelected;
            contentProvider.WeatherUpdated   += WeatherLoaded;
        }