Ejemplo n.º 1
0
        // Methods :: Public
        public void Load(Album album)
        {
            cover_image.Song = (Song)album.Songs [0];

            name_label.Text = album.Name;

            MarkupUtils.LabelSetMarkup(name_label, 0,
                                       StringUtils.GetByteLength(album.Name),
                                       true, true, false);

            year_label.Text = album.Year;

            // Insert tracks
            foreach (Song song in album.Songs)
            {
                InsertTrack(song);
            }
        }