public async void Remove(ListBox display, AppBarButton button) { TimelineItem item = (TimelineItem)button.Tag; if (_channel.GetOrCreateUserActivityAsync(item.Id) != null) { await _channel.DeleteActivityAsync(item.Id); } _list.Remove(item); }
public async void Remove(ListBox display, AppBarButton button) { TimelineItem item = (TimelineItem)button.Tag; if (_channel.GetOrCreateUserActivityAsync(item.Id) != null) { await _channel.DeleteActivityAsync(item.Id); } _list.Remove(item); }