mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
TESTING - Queue changing (enqueue/play_next)
This commit is contained in:
@@ -9,22 +9,14 @@ import androidx.room.PrimaryKey;
|
||||
public class Queue {
|
||||
@NonNull
|
||||
@PrimaryKey
|
||||
@ColumnInfo(name = "id")
|
||||
private String songID;
|
||||
|
||||
@ColumnInfo(name = "track_order")
|
||||
private int trackOrder;
|
||||
|
||||
public Queue(String songID, int trackOrder) {
|
||||
this.songID = songID;
|
||||
@ColumnInfo(name = "id")
|
||||
private String songID;
|
||||
|
||||
public Queue(int trackOrder, String songID) {
|
||||
this.trackOrder = trackOrder;
|
||||
}
|
||||
|
||||
public String getSongID() {
|
||||
return songID;
|
||||
}
|
||||
|
||||
public void setSongID(String songID) {
|
||||
this.songID = songID;
|
||||
}
|
||||
|
||||
@@ -35,4 +27,12 @@ public class Queue {
|
||||
public void setTrackOrder(int trackOrder) {
|
||||
this.trackOrder = trackOrder;
|
||||
}
|
||||
|
||||
public String getSongID() {
|
||||
return songID;
|
||||
}
|
||||
|
||||
public void setSongID(String songID) {
|
||||
this.songID = songID;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user