Skip to content

Instantly share code, notes, and snippets.

@OssamaDroid
Created February 10, 2020 00:24
Show Gist options
  • Save OssamaDroid/dc4d6cb01f8bdb20f7245a0ea7390d34 to your computer and use it in GitHub Desktop.
Save OssamaDroid/dc4d6cb01f8bdb20f7245a0ea7390d34 to your computer and use it in GitHub Desktop.
private val transformSubmitNameEventToAction: ObservableTransformer<SubmitEvent, SubmitNameAction> =
ObservableTransformer { events ->
events.map { SubmitNameAction(it.name) }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment