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