Skip to content

Instantly share code, notes, and snippets.

@tasaquino
Created December 4, 2018 17:04
Show Gist options
  • Save tasaquino/d0128c6389cdbe968c94050852b8c985 to your computer and use it in GitHub Desktop.
Save tasaquino/d0128c6389cdbe968c94050852b8c985 to your computer and use it in GitHub Desktop.
ScopingFunctionAlsoExternalThisExample
error?.also {
Toast.makeText(this, it.message, Toast.LENGTH_LONG).show()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment