public void Load(SongInfo songInfo, SelectSongScrollView parent) { if (!isDirectory && songInfo.Equals(this.songInfo)) { return; } this.parent = parent; this.songInfo = songInfo; isDirectory = false; UpdateDisplay(); }
public void Load(DirectoryInfo dirInfo, bool isParent, SelectSongScrollView parent) { if (isDirectory && dirInfo == this.dirInfo) { return; } this.parent = parent; this.dirInfo = dirInfo; isParentDirectory = isParent; isDirectory = true; UpdateDisplay(); }