/// <summary> /// Clear the data held by this model /// </summary> public static void ClearModel() { Playlists.Clear(); SongPlaylists.Clear(); AlbumPlaylists.Clear(); PlaylistNames.Clear(); LibraryId = -1; BaseModel.Clear(); }
/// <summary> /// Clear the data held by this model /// </summary> public static void ClearModel() { Albums = null; UnfilteredAlbums = null; FilteredAlbums = null; GenreSortedAlbums = null; LibraryId = -1; FilterSelector.CurrentFilter = null; FastScrollSections = null; FastScrollSectionLookup = null; BaseModel.Clear(); }
/// <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(); }