コード例 #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();
 }
コード例 #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();
 }