public async Task <ICustomBasicList <IBaseSong> > GetRandomListAsync() { ICustomBasicList <IBaseSong>?tempList = null; await Task.Run(() => { SongsChosen.Clear(); if (_alreadyHad == true) { _alreadyHad = false; tempList = _rList.ToCustomBasicList(); //to get a new one. return; } tempList = _rList.GetRandomList(); //i think this would work too. return; }); return(tempList !); //decided to risk it. }
public MusicShuffleProcesses() { SongsChosen.Clear(); //i think }