-
Notifications
You must be signed in to change notification settings - Fork 1
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
4 changed files
with
37 additions
and
50 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
lib-videoplayer/src/main/java/com/jik/lib/videoplayer/VideoPlayerState.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package com.jik.lib.videoplayer | ||
|
||
enum class VideoPlayerState { | ||
sealed interface VideoPlayerState { | ||
|
||
INITIAL, | ||
LOADING, | ||
GET_ERROR, | ||
NO_VIDEO, | ||
CAN_PLAY, | ||
object Initial : VideoPlayerState | ||
object Loading : VideoPlayerState | ||
class GetError(val errorMessage: String) : VideoPlayerState | ||
object NoVideo : VideoPlayerState | ||
object CanPlay : VideoPlayerState | ||
} |
15 changes: 0 additions & 15 deletions
15
lib-videoplayer/src/main/java/com/jik/lib/videoplayer/component/error/NoVideoFound.kt
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