Skip to content

Instantly share code, notes, and snippets.

@zsoltk
Last active September 10, 2022 15:34
Show Gist options
  • Save zsoltk/05187272d23b138983c87a060d5bf2b9 to your computer and use it in GitHub Desktop.
Save zsoltk/05187272d23b138983c87a060d5bf2b9 to your computer and use it in GitHub Desktop.
class Cards<T : Any>(
initialItems: List<T> = listOf(),
) : BaseNavModel<T, State>(
screenResolver = CardsOnScreenResolver, // <- What's on screen?
finalStates = setOf(VoteLike, VotePass), // <- What's destroyed?
savedStateMap = null
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment