예제 #1
0
 protected override void OnAppearing()
 {
     base.OnAppearing();
     //Dirty way to update CurWeekHours after popasync from another page
     BindingContext = new ViewModel.MainPageViewModel(Navigation);
 }
예제 #2
0
        public MainPage()
        {
            InitializeComponent();

            BindingContext = new ViewModel.MainPageViewModel(Navigation);
        }