Skip to content

Instantly share code, notes, and snippets.

@agustarc
Created August 15, 2019 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save agustarc/8a4e6ef510c8f26141f114566861dc02 to your computer and use it in GitHub Desktop.
Save agustarc/8a4e6ef510c8f26141f114566861dc02 to your computer and use it in GitHub Desktop.
this += repository.getImages(params)
.compose(applySingleAsync())
.subscribe { result ->
result.fold(
onSuccess = { },
onFailure = { }
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment