-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
1,853 additions
and
1,350 deletions.
There are no files selected for viewing
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
Binary file not shown.
Binary file not shown.
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
24 changes: 24 additions & 0 deletions
24
app/src/main/java/com/sosauce/cutemusic/data/MusicState.kt
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.sosauce.cutemusic.data | ||
|
||
import android.net.Uri | ||
import com.sosauce.cutemusic.domain.model.Lyrics | ||
import java.io.File | ||
|
||
data class MusicState( | ||
var currentlyPlaying: String = "", | ||
var currentArtist: String = "", | ||
val currentArtistId: Long = 0, | ||
var currentArt: Uri? = null, | ||
var isCurrentlyPlaying: Boolean = false, | ||
var currentPosition: Long = 0L, | ||
var currentMusicDuration: Long = 0L, | ||
var currentMusicUri: String = "", | ||
var currentLyrics: List<Lyrics> = listOf(), | ||
var isLooping: Boolean = false, | ||
var isShuffling: Boolean = false, | ||
var currentPath: String = "", | ||
val currentAlbum: String = "", | ||
val currentAlbumId: Long = 0, | ||
val currentSize: Long = 0, | ||
val currentLrcFile: File? = null | ||
) |
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
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
12 changes: 0 additions & 12 deletions
12
app/src/main/java/com/sosauce/cutemusic/main/AppContainer.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.