Пример #1
0
 void UpdateMediaList()
 {
     adapter.Clear();
     foreach (File f in (new File(sessionPath)).ListFiles())
     {
         if (f.Name.EndsWith(".jpg"))
         {
             adapter.Add(f.ToString());
         }
     }
     adapter.NotifyDataSetChanged();
 }
Пример #2
0
 protected override void OnPostExecute(Java.Lang.Object result)
 {
     base.OnPostExecute(result);
     Adapter.NotifyDataSetChanged();
 }