Created
April 24, 2022 16:24
-
-
Save rygelouv/2dfa725491ddde70cc887cbe34f9853e to your computer and use it in GitHub Desktop.
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
sealed class MoviesAction { | |
data class SearchMovieAction(val query: String): MoviesAction() | |
data class AddToHistoryAction(val movieId: Int): MoviesAction() | |
object RefreshMoviesAction: MoviesAction() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment