Skip to content

Instantly share code, notes, and snippets.

@fededri
Created January 25, 2022 02:38
Show Gist options
  • Save fededri/6288cb2be7996c212051a7f48ea8d851 to your computer and use it in GitHub Desktop.
Save fededri/6288cb2be7996c212051a7f48ea8d851 to your computer and use it in GitHub Desktop.
KMM demo app state
data class MoviesState(
val movies: List<Movie> = emptyList(),
val selectedMovie: Movie? = null,
) {
init {
freeze()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment