public void SetData(string path) { SizeWorkers.Clear(); CurrentRoot = path; TryCatch.Current.Invoke(() => { Items.Add(path); AfterItemsChanged?.Invoke(); }); SizeWorkers.Add(this, Items); NotifyDataSetChanged(); }
public void SetData(List <string> paths) { SizeWorkers.Clear(); CurrentRoot = string.Empty; TryCatch.Current.Invoke(() => { Items.Add(paths); AfterItemsChanged?.Invoke(); }); SizeWorkers.Add(this, Items); NotifyDataSetChanged(); }