-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[simba/#33] feat:: Song 데이터 베이스 활용하기 (last song Toast 메시지 오류)
- Loading branch information
Showing
13 changed files
with
305 additions
and
380 deletions.
There are no files selected for viewing
314 changes: 0 additions & 314 deletions
314
...dea/shelf/Uncommitted_changes_before_Checkout_at_5_18_24,_7_44 PM_[Changes]/shelved.patch
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
UMC_6th/.idea/shelf/Uncommitted_changes_before_Checkout_at_5_18_24__7_44PM__Changes_.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
package com.example.umc_6th | ||
|
||
import androidx.room.Entity | ||
import androidx.room.PrimaryKey | ||
|
||
@Entity(tableName = "SongTable") | ||
data class Song( | ||
val title : String = "", | ||
val singer : String = "", | ||
var title : String = "", | ||
var singer : String = "", | ||
var second : Int = 0, | ||
var playTime : Int = 60, | ||
var playTime : Int = 0, | ||
var isPlaying : Boolean = false, | ||
var music : String = "" | ||
) | ||
var music : String = "", | ||
var coverImg: Int? = null, | ||
var isLike: Boolean = false | ||
){ | ||
@PrimaryKey(autoGenerate = true) var id: Int = 0 | ||
} | ||
|
Oops, something went wrong.