Example #1
0
 /// <summary>
 /// Clear the data held by this model
 /// </summary>
 public static void ClearModel()
 {
     Artists.Clear();
     UnfilteredArtists.Clear();
     ArtistsAndAlbums.Clear();
     LibraryId = -1;
     FilterSelector.CurrentFilter = null;
     FilteredAlbumsIds.Clear();
     BaseModel.SortSelector.SetActiveSortOrder(SortSelector.SortType.alphabetic);               // This also sets the sort order to alphabetic ascending
     FastScrollSections      = null;
     FastScrollSectionLookup = null;
     BaseModel.Clear();
 }