Ejemplo n.º 1
0
 protected override IObservable<Unit> OnNavigatedToAsync(NavigatedInfo e)
 {
     if (!this.ViewModel.IsDataLoaded)
     {
         this.ViewModel.LoadData();
     }
      	         return base.OnNavigatedToAsync(e);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Invoked when the Page is loaded and becomes the current source of a parent Frame.
 /// </summary>
 /// <param name="e">
 /// Event data that can be examined by overriding code. The event data is representative
 /// of the pending navigation that will load the current Page. Usually the most
 /// relevant property to examine is Parameter.
 /// </param>
 /// <returns></returns>
 protected virtual IObservable<Unit> OnNavigatedToAsync(NavigatedInfo e)
 {
     return completed;
 }
Ejemplo n.º 3
0
 internal IObservable<Unit> OnNavigatedToInternalAsync(ReactiveShell shell, NavigatedInfo e)
 {
     this.RegisterAppBars();
     return OnNavigatedToAsync(e);
 }