示例#1
0
 protected override void OnResume()
 {
     base.OnResume();
     if (lv != null)
     {
         var list = new List <Estudiante>();
         var est  = estudiantes.LeerTodos();
         lv.Adapter = new LVAdapter(this, est);
         ((BaseAdapter)lv.Adapter).NotifyDataSetChanged();
     }
 }
示例#2
0
 protected override void OnResume()
 {
     base.OnResume();
     if (lv != null)
     {
         var list = new List <Estudiante>();
         var est  = estudiantes.LeerTodos();
         lv.Adapter = new LVAdapter(this, new List <Estudiante>()
         {
             new Estudiante()
             {
                 Nombre = "REPROBADO", NumeroControl = string.Empty, Calificacion = 0
             }
         });
     }
 }