public ExploreChordsViewModel()
 {
     Title            = "Explore Tabs";
     NotationSortList = new ObservableCollection <NotationSortPickerItem>(NotationSortHelper.GetSortPickerItems());
     foreach (var item in NotationSortList)
     {
         if (item.Value == NotationSort.RECENTLY_ADDED)
         {
             SortingMode = item;
         }
     }
 }
Beispiel #2
0
 public ExploreDecadeNotationsViewModel(int Decade)
 {
     _decade          = Decade;
     Title            = $"Explore {_decade}";
     NotationSortList = new ObservableCollection <NotationSortPickerItem>(NotationSortHelper.GetSortPickerItems());
     foreach (var item in NotationSortList)
     {
         if (item.Value == NotationSort.RECENTLY_ADDED)
         {
             SortingMode = item;
         }
     }
 }