Last active
January 25, 2022 02:42
-
-
Save fededri/98a7c706c74e3539d3e4e7c315059e6a to your computer and use it in GitHub Desktop.
KMM demo app actions
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 MoviesActions { | |
object FetchMovies : MoviesActions() | |
data class SelectMovie(val movie: Movie) : MoviesActions() | |
data class SaveMovies(val movies: List<Movie>) : MoviesActions() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment