/// <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()); }
/// <summary> /// Refreshes the exercise history. /// </summary> public void RefreshHistory() { this.ExerciseHistory = NotifyTaskCompletion.Create(GetHistoryAsync()); this.AppTip = NotifyTaskCompletion.Create(TipsDataModel.GetSingleTipAsync()); }