internal void DeleteItem(DownloadedElevationData item)
 {
     _database.DeleteItem(item);
     MainThread.BeginInvokeOnMainThread(() =>
                                        DownloadedElevationDataDeleted?.Invoke(this, new DownloadedElevationDataEventArgs()
     {
         data = item
     })
                                        );
 }
예제 #2
0
 public void DeleteItem(PhotoData item)
 {
     System.IO.File.Delete(item.PhotoFileName);
     _database.DeleteItem(item);
     MainThread.BeginInvokeOnMainThread(() =>
                                        PhotoDeleted?.Invoke(this, new PhotoDataEventArgs()
     {
         data = item
     })
                                        );
 }