private void createNewSection(string section) { AllSongs_IndividualSong_Lyrics lyricSection = new AllSongs_IndividualSong_Lyrics(); lyricSection.SectionName = section; lyricSection.SectionLyrics = ""; selectedSong.LyricSections.Add(lyricSection); TableView.ReloadData(); }
//Allows us to get access to a section from the IndivdualSongLyricPageTVC. We store the reference in a local variable. public void SetSection(AllSongs_IndividualSong_Lyrics section) { this.section = section; }
//METHODS public void SetCellElements(AllSongs_IndividualSong_Lyrics song) { lyrics = song; LyricNameL.Text = song.SectionName; LyricsTV.Text = song.SectionLyrics; }