private static void LoadPlaylists() { // ioHandler.LoadPlaylistData(); playlists = ioHandler.LoadPlaylists(); SavePlaylistData(); SongLoadingManager.AddPostProcessingCB(downloadManager.DownloadMissingSongs); SongLoadingManager.AddPostProcessingCB(downloadManager.EnableBackButton); }
/// <summary> /// Register a callback that will be called after song list has been reloaded. /// </summary> public static void RegisterSongListPostProcessing(Action callback) { SongLoadingManager.AddPostProcessingCB(callback); }