mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Changed the sort order of the songs in the playlist and added a download button
This commit is contained in:
parent
a466574e08
commit
91fd7a5b29
10 changed files with 106 additions and 12 deletions
|
|
@ -15,9 +15,13 @@ public class PlaylistSongCross {
|
|||
@ColumnInfo(name = "song_id")
|
||||
private String songId;
|
||||
|
||||
public PlaylistSongCross(String playlistId, String songId) {
|
||||
@ColumnInfo(name = "item_number")
|
||||
private int itemNumber;
|
||||
|
||||
public PlaylistSongCross(String playlistId, String songId, int itemNumber) {
|
||||
this.playlistId = playlistId;
|
||||
this.songId = songId;
|
||||
this.itemNumber = itemNumber;
|
||||
}
|
||||
|
||||
public String getPlaylistId() {
|
||||
|
|
@ -35,4 +39,8 @@ public class PlaylistSongCross {
|
|||
public void setSongId(String songId) {
|
||||
this.songId = songId;
|
||||
}
|
||||
|
||||
public int getItemNumber() { return itemNumber; }
|
||||
|
||||
public void setItemNumber(int itemNumber) { this.itemNumber = itemNumber; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue