mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-01-30 14:22:05 +00:00
First implementation of the panel dedicated to the download, divided by type of the downloaded resource
This commit is contained in:
@@ -52,6 +52,14 @@ public class Album implements Parcelable {
|
||||
this.songs = MappingUtil.mapSong(albumWithSongsID3.getSongs());
|
||||
}
|
||||
|
||||
public Album(Download download) {
|
||||
this.id = download.getAlbumId();
|
||||
this.title = download.getAlbumName();
|
||||
this.artistId = download.getArtistId();
|
||||
this.artistName = download.getArtistName();
|
||||
this.primary = download.getPrimary();
|
||||
}
|
||||
|
||||
public Album(AlbumInfo info) {
|
||||
this.notes = info.getNotes();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user