Skip to content

Instantly share code, notes, and snippets.

@ValeryPonomarenko
Created April 10, 2019 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ValeryPonomarenko/4589737ee763cd7e01b9aa22e0a2c28b to your computer and use it in GitHub Desktop.
Save ValeryPonomarenko/4589737ee763cd7e01b9aa22e0a2c28b to your computer and use it in GitHub Desktop.
Rendering a Screen Based On Its ViewState
interface ViewStateRendererPicker<VS> {
fun pick(viewState: VS): KClass<out ViewStateRenderer<VS>>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment