Exemplo n.º 1
0
 private void LessonFragment_ProgressListRefreshRequested(object sender, ProgressListRefreshRequestedEventArgs e)
 {
     progressList.Clear();
     foreach (var iteration in e.Lesson.Iterations)
     {
         progressList.Add(new Progress(iteration.Status)); // Set iteration's status to the same as progess's staus
     }
     rvProgress.GetAdapter().NotifyDataSetChanged();
 }
Exemplo n.º 2
0
 private void LessonFragment_ProgressListRefreshRequested(object sender, ProgressListRefreshRequestedEventArgs e)
 {
     progressList.Clear();
     foreach (var iteration in e.Lesson.Iterations)
     {
         progressList.Add(new Progress(iteration.Status)); // Set iteration's status to the same as progess's staus
     }
     rvProgress.GetAdapter().NotifyDataSetChanged();
 }