Created
April 30, 2019 09:42
-
-
Save hlung/3fa67b446c4e1a892508714dc7e30782 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getPokemonList( | |
success: { data in | |
self.update(data: data) | |
return KotlinUnit() | |
}, failure: { | |
self.handleError($0?.message) | |
return KotlinUnit() | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment