Skip to content

Instantly share code, notes, and snippets.

@thenixan
Created January 30, 2018 11:51
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 thenixan/2fff17667880f56ad181104f26e40b68 to your computer and use it in GitHub Desktop.
Save thenixan/2fff17667880f56ad181104f26e40b68 to your computer and use it in GitHub Desktop.
service.loadDataWithNewTypeConverter()
.flatMapObservable {
it.data
}
.count()
.subscribe({ result ->
println("Size is: $result")
}, { error -> error.printStackTrace() })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment