public void UpdateList() { _recentBeatmaps = new ObservableCollection <Beatmap>( _beatmapOperator.GetBeatmapsByMapInfo(_appDbOperator.GetRecentList(), TimeSortMode.PlayTime)); DataModels = new NumberableObservableCollection <BeatmapDataModel>(_recentBeatmaps.ToDataModelList(false)); RecentList.DataContext = DataModels.ToList(); }
public void UpdateList() { _entries = BeatmapQuery.GetRecentListFromDb(); DataModels = new NumberableObservableCollection <BeatmapDataModel>(_entries.ToDataModels(false)); RecentList.DataContext = DataModels.ToList(); }
public void UpdateList() { _entries = InstanceManage.GetInstance <OsuDbInst>().Beatmaps.GetRecentListFromDb(); DataModels = new NumberableObservableCollection <BeatmapDataModel>(_entries.ToDataModels(false)); RecentList.DataContext = DataModels.ToList(); }