private async Task LoadDataAsync() { var list = await videoLibrary.GetVideoItemsAsync(Directory, false); VideoItems.Clear(); VideoItems.AddRange(list.OrderBy(e => e.Title)); }
protected override async Task InitializeVMAsync(CancellationToken token) { App.DebugLog(""); var list = await videoLibrary.GetVideoItemsAsync(Directory, false); VideoItems.Clear(); if (backToTrimmer) { VideoItems.AddRange(list.OrderBy(e => e.Directory).ThenBy(e => e.FileName)); } else { VideoItems.AddRange(list.OrderBy(e => e.Title)); } }