示例#1
0
 /// <summary>
 /// Refreshes the list of featured exercises and the list of tips.
 /// </summary>
 public void RefreshExercises()
 {
     this.FeaturedExercises = NotifyTaskCompletion.Create(GetFeaturedExercisesAsync());
     this.AppTip            = NotifyTaskCompletion.Create(TipsDataModel.GetSingleTipAsync());
 }
示例#2
0
 /// <summary>
 /// Refreshes the exercise history.
 /// </summary>
 public void RefreshHistory()
 {
     this.ExerciseHistory = NotifyTaskCompletion.Create(GetHistoryAsync());
     this.AppTip          = NotifyTaskCompletion.Create(TipsDataModel.GetSingleTipAsync());
 }