Skip to content

Instantly share code, notes, and snippets.

@programaths
Created April 15, 2016 12:02
Show Gist options
  • Save programaths/1747bf2742e778488ab14d4d51b74f1c to your computer and use it in GitHub Desktop.
Save programaths/1747bf2742e778488ab14d4d51b74f1c to your computer and use it in GitHub Desktop.
Example of formatting
gameService.gamelistArray()
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe {
gameList ->
adapter=GameListAdapter(gameList.toList().map { it.second },ctx)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment